diff --git a/homeassistant/components/air_quality/strings.json b/homeassistant/components/air_quality/strings.json index f3369398b34..996bf260057 100644 --- a/homeassistant/components/air_quality/strings.json +++ b/homeassistant/components/air_quality/strings.json @@ -1,25 +1,18 @@ { "common": { - "condition_behavior_description": "How the value should match on the targeted entities.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted entities to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_co2_value": { "description": "Tests the carbon dioxide level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -29,7 +22,6 @@ "description": "Tests if one or more carbon monoxide sensors are cleared.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" } }, @@ -39,7 +31,6 @@ "description": "Tests if one or more carbon monoxide sensors are detecting carbon monoxide.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" } }, @@ -49,11 +40,9 @@ "description": "Tests the carbon monoxide level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -63,7 +52,6 @@ "description": "Tests if one or more gas sensors are cleared.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" } }, @@ -73,7 +61,6 @@ "description": "Tests if one or more gas sensors are detecting gas.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" } }, @@ -83,11 +70,9 @@ "description": "Tests the nitrous oxide level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -97,11 +82,9 @@ "description": "Tests the nitrogen dioxide level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -111,11 +94,9 @@ "description": "Tests the nitrogen monoxide level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -125,11 +106,9 @@ "description": "Tests the ozone level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -139,11 +118,9 @@ "description": "Tests the PM10 level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -153,11 +130,9 @@ "description": "Tests the PM1 level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -167,11 +142,9 @@ "description": "Tests the PM2.5 level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -181,11 +154,9 @@ "description": "Tests the PM4 level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -195,7 +166,6 @@ "description": "Tests if one or more smoke sensors are cleared.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" } }, @@ -205,7 +175,6 @@ "description": "Tests if one or more smoke sensors are detecting smoke.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" } }, @@ -215,11 +184,9 @@ "description": "Tests the sulphur dioxide level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -229,11 +196,9 @@ "description": "Tests the volatile organic compounds ratio of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -243,11 +208,9 @@ "description": "Tests the volatile organic compounds level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::condition_behavior_description%]", "name": "[%key:component::air_quality::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::condition_threshold_description%]", "name": "[%key:component::air_quality::common::condition_threshold_name%]" } }, @@ -275,7 +238,6 @@ "description": "Triggers after one or more carbon dioxide levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -285,11 +247,9 @@ "description": "Triggers after one or more carbon dioxide levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -299,7 +259,6 @@ "description": "Triggers after one or more carbon monoxide levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -309,7 +268,6 @@ "description": "Triggers after one or more carbon monoxide sensors stop detecting carbon monoxide.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" } }, @@ -319,11 +277,9 @@ "description": "Triggers after one or more carbon monoxide levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -333,7 +289,6 @@ "description": "Triggers after one or more carbon monoxide sensors start detecting carbon monoxide.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" } }, @@ -343,7 +298,6 @@ "description": "Triggers after one or more gas sensors stop detecting gas.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" } }, @@ -353,7 +307,6 @@ "description": "Triggers after one or more gas sensors start detecting gas.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" } }, @@ -363,7 +316,6 @@ "description": "Triggers after one or more nitrous oxide levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -373,11 +325,9 @@ "description": "Triggers after one or more nitrous oxide levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -387,7 +337,6 @@ "description": "Triggers after one or more nitrogen dioxide levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -397,11 +346,9 @@ "description": "Triggers after one or more nitrogen dioxide levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -411,7 +358,6 @@ "description": "Triggers after one or more nitrogen monoxide levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -421,11 +367,9 @@ "description": "Triggers after one or more nitrogen monoxide levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -435,7 +379,6 @@ "description": "Triggers after one or more ozone levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -445,11 +388,9 @@ "description": "Triggers after one or more ozone levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -459,7 +400,6 @@ "description": "Triggers after one or more PM10 levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -469,11 +409,9 @@ "description": "Triggers after one or more PM10 levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -483,7 +421,6 @@ "description": "Triggers after one or more PM1 levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -493,11 +430,9 @@ "description": "Triggers after one or more PM1 levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -507,7 +442,6 @@ "description": "Triggers after one or more PM2.5 levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -517,11 +451,9 @@ "description": "Triggers after one or more PM2.5 levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -531,7 +463,6 @@ "description": "Triggers after one or more PM4 levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -541,11 +472,9 @@ "description": "Triggers after one or more PM4 levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -555,7 +484,6 @@ "description": "Triggers after one or more smoke sensors stop detecting smoke.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" } }, @@ -565,7 +493,6 @@ "description": "Triggers after one or more smoke sensors start detecting smoke.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" } }, @@ -575,7 +502,6 @@ "description": "Triggers after one or more sulphur dioxide levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -585,11 +511,9 @@ "description": "Triggers after one or more sulphur dioxide levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -599,7 +523,6 @@ "description": "Triggers after one or more volatile organic compound levels change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -609,11 +532,9 @@ "description": "Triggers after one or more volatile organic compounds levels cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -623,7 +544,6 @@ "description": "Triggers after one or more volatile organic compound ratios change.", "fields": { "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_changed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, @@ -633,11 +553,9 @@ "description": "Triggers after one or more volatile organic compounds ratios cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::air_quality::common::trigger_behavior_description%]", "name": "[%key:component::air_quality::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::air_quality::common::trigger_threshold_crossed_description%]", "name": "[%key:component::air_quality::common::trigger_threshold_name%]" } }, diff --git a/homeassistant/components/alarm_control_panel/strings.json b/homeassistant/components/alarm_control_panel/strings.json index 63c907d25c6..c49e3d9df33 100644 --- a/homeassistant/components/alarm_control_panel/strings.json +++ b/homeassistant/components/alarm_control_panel/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted alarms.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted alarms to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_armed": { "description": "Tests if one or more alarms are armed.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more alarms are armed in away mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more alarms are armed in home mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more alarms are armed in night mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -50,7 +44,6 @@ "description": "Tests if one or more alarms are armed in vacation mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -60,7 +53,6 @@ "description": "Tests if one or more alarms are disarmed.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -70,7 +62,6 @@ "description": "Tests if one or more alarms are triggered.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::condition_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::condition_behavior_name%]" } }, @@ -242,7 +233,6 @@ "description": "Triggers after one or more alarms become armed, regardless of the mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, @@ -252,7 +242,6 @@ "description": "Triggers after one or more alarms become armed in away mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, @@ -262,7 +251,6 @@ "description": "Triggers after one or more alarms become armed in home mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, @@ -272,7 +260,6 @@ "description": "Triggers after one or more alarms become armed in night mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, @@ -282,7 +269,6 @@ "description": "Triggers after one or more alarms become armed in vacation mode.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, @@ -292,7 +278,6 @@ "description": "Triggers after one or more alarms become disarmed.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, @@ -302,7 +287,6 @@ "description": "Triggers after one or more alarms become triggered.", "fields": { "behavior": { - "description": "[%key:component::alarm_control_panel::common::trigger_behavior_description%]", "name": "[%key:component::alarm_control_panel::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/assist_satellite/strings.json b/homeassistant/components/assist_satellite/strings.json index f544ddbd8d0..70f167f323e 100644 --- a/homeassistant/components/assist_satellite/strings.json +++ b/homeassistant/components/assist_satellite/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted Assist satellites.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted Assist satellites to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_idle": { "description": "Tests if one or more Assist satellites are idle.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::condition_behavior_description%]", "name": "[%key:component::assist_satellite::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more Assist satellites are listening.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::condition_behavior_description%]", "name": "[%key:component::assist_satellite::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more Assist satellites are processing.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::condition_behavior_description%]", "name": "[%key:component::assist_satellite::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more Assist satellites are responding.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::condition_behavior_description%]", "name": "[%key:component::assist_satellite::common::condition_behavior_name%]" } }, @@ -165,7 +159,6 @@ "description": "Triggers after one or more voice assistant satellites become idle after having processed a command.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::trigger_behavior_description%]", "name": "[%key:component::assist_satellite::common::trigger_behavior_name%]" } }, @@ -175,7 +168,6 @@ "description": "Triggers after one or more voice assistant satellites start listening for a command from someone.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::trigger_behavior_description%]", "name": "[%key:component::assist_satellite::common::trigger_behavior_name%]" } }, @@ -185,7 +177,6 @@ "description": "Triggers after one or more voice assistant satellites start processing a command after having heard it.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::trigger_behavior_description%]", "name": "[%key:component::assist_satellite::common::trigger_behavior_name%]" } }, @@ -195,7 +186,6 @@ "description": "Triggers after one or more voice assistant satellites start responding to a command after having processed it, or start announcing something.", "fields": { "behavior": { - "description": "[%key:component::assist_satellite::common::trigger_behavior_description%]", "name": "[%key:component::assist_satellite::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/battery/strings.json b/homeassistant/components/battery/strings.json index dc6c518f665..61f1698bea4 100644 --- a/homeassistant/components/battery/strings.json +++ b/homeassistant/components/battery/strings.json @@ -1,21 +1,15 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted batteries.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted batteries to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_charging": { "description": "Tests if one or more batteries are charging.", "fields": { "behavior": { - "description": "[%key:component::battery::common::condition_behavior_description%]", "name": "[%key:component::battery::common::condition_behavior_name%]" } }, @@ -25,11 +19,9 @@ "description": "Tests the battery level of one or more batteries.", "fields": { "behavior": { - "description": "[%key:component::battery::common::condition_behavior_description%]", "name": "[%key:component::battery::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::battery::common::condition_threshold_description%]", "name": "[%key:component::battery::common::condition_threshold_name%]" } }, @@ -39,7 +31,6 @@ "description": "Tests if one or more batteries are low.", "fields": { "behavior": { - "description": "[%key:component::battery::common::condition_behavior_description%]", "name": "[%key:component::battery::common::condition_behavior_name%]" } }, @@ -49,7 +40,6 @@ "description": "Tests if one or more batteries are not charging.", "fields": { "behavior": { - "description": "[%key:component::battery::common::condition_behavior_description%]", "name": "[%key:component::battery::common::condition_behavior_name%]" } }, @@ -59,7 +49,6 @@ "description": "Tests if one or more batteries are not low.", "fields": { "behavior": { - "description": "[%key:component::battery::common::condition_behavior_description%]", "name": "[%key:component::battery::common::condition_behavior_name%]" } }, @@ -87,7 +76,6 @@ "description": "Triggers after the battery level of one or more batteries changes.", "fields": { "threshold": { - "description": "[%key:component::battery::common::trigger_threshold_changed_description%]", "name": "[%key:component::battery::common::trigger_threshold_name%]" } }, @@ -97,11 +85,9 @@ "description": "Triggers after the battery level of one or more batteries crosses a threshold.", "fields": { "behavior": { - "description": "[%key:component::battery::common::trigger_behavior_description%]", "name": "[%key:component::battery::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::battery::common::trigger_threshold_crossed_description%]", "name": "[%key:component::battery::common::trigger_threshold_name%]" } }, @@ -111,7 +97,6 @@ "description": "Triggers after one or more batteries become low.", "fields": { "behavior": { - "description": "[%key:component::battery::common::trigger_behavior_description%]", "name": "[%key:component::battery::common::trigger_behavior_name%]" } }, @@ -121,7 +106,6 @@ "description": "Triggers after one or more batteries are no longer low.", "fields": { "behavior": { - "description": "[%key:component::battery::common::trigger_behavior_description%]", "name": "[%key:component::battery::common::trigger_behavior_name%]" } }, @@ -131,7 +115,6 @@ "description": "Triggers after one or more batteries start charging.", "fields": { "behavior": { - "description": "[%key:component::battery::common::trigger_behavior_description%]", "name": "[%key:component::battery::common::trigger_behavior_name%]" } }, @@ -141,7 +124,6 @@ "description": "Triggers after one or more batteries stop charging.", "fields": { "behavior": { - "description": "[%key:component::battery::common::trigger_behavior_description%]", "name": "[%key:component::battery::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/calendar/strings.json b/homeassistant/components/calendar/strings.json index 8cac1016e80..1175002adc8 100644 --- a/homeassistant/components/calendar/strings.json +++ b/homeassistant/components/calendar/strings.json @@ -1,14 +1,12 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted calendars.", - "condition_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if" }, "conditions": { "is_event_active": { "description": "Tests if one or more calendars have an active event.", "fields": { "behavior": { - "description": "[%key:component::calendar::common::condition_behavior_description%]", "name": "[%key:component::calendar::common::condition_behavior_name%]" } }, diff --git a/homeassistant/components/climate/strings.json b/homeassistant/components/climate/strings.json index 7fc608ff419..2c2947c15ee 100644 --- a/homeassistant/components/climate/strings.json +++ b/homeassistant/components/climate/strings.json @@ -1,21 +1,15 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted climate-control devices.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted climates to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_cooling": { "description": "Tests if one or more climate-control devices are cooling.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" } }, @@ -25,7 +19,6 @@ "description": "Tests if one or more climate-control devices are drying.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" } }, @@ -35,7 +28,6 @@ "description": "Tests if one or more climate-control devices are heating.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" } }, @@ -45,7 +37,6 @@ "description": "Tests if one or more climate-control devices are set to a specific HVAC mode.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" }, "hvac_mode": { @@ -59,7 +50,6 @@ "description": "Tests if one or more climate-control devices are off.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" } }, @@ -69,7 +59,6 @@ "description": "Tests if one or more climate-control devices are on.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" } }, @@ -79,11 +68,9 @@ "description": "Tests the humidity setpoint of one or more climate-control devices.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::climate::common::condition_threshold_description%]", "name": "[%key:component::climate::common::condition_threshold_name%]" } }, @@ -93,11 +80,9 @@ "description": "Tests the temperature setpoint of one or more climate-control devices.", "fields": { "behavior": { - "description": "[%key:component::climate::common::condition_behavior_description%]", "name": "[%key:component::climate::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::climate::common::condition_threshold_description%]", "name": "[%key:component::climate::common::condition_threshold_name%]" } }, @@ -398,7 +383,6 @@ "description": "Triggers after the mode of one or more climate-control devices changes.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" }, "hvac_mode": { @@ -412,7 +396,6 @@ "description": "Triggers after one or more climate-control devices start cooling.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" } }, @@ -422,7 +405,6 @@ "description": "Triggers after one or more climate-control devices start drying.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" } }, @@ -432,7 +414,6 @@ "description": "Triggers after one or more climate-control devices start heating.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" } }, @@ -442,7 +423,6 @@ "description": "Triggers after the humidity setpoint of one or more climate-control devices changes.", "fields": { "threshold": { - "description": "[%key:component::climate::common::trigger_threshold_changed_description%]", "name": "[%key:component::climate::common::trigger_threshold_name%]" } }, @@ -452,11 +432,9 @@ "description": "Triggers after the humidity setpoint of one or more climate-control devices crosses a threshold.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::climate::common::trigger_threshold_crossed_description%]", "name": "[%key:component::climate::common::trigger_threshold_name%]" } }, @@ -466,7 +444,6 @@ "description": "Triggers after the temperature setpoint of one or more climate-control devices changes.", "fields": { "threshold": { - "description": "[%key:component::climate::common::trigger_threshold_changed_description%]", "name": "[%key:component::climate::common::trigger_threshold_name%]" } }, @@ -476,11 +453,9 @@ "description": "Triggers after the temperature setpoint of one or more climate-control devices crosses a threshold.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::climate::common::trigger_threshold_crossed_description%]", "name": "[%key:component::climate::common::trigger_threshold_name%]" } }, @@ -490,7 +465,6 @@ "description": "Triggers after one or more climate-control devices turn off.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" } }, @@ -500,7 +474,6 @@ "description": "Triggers after one or more climate-control devices turn on, regardless of the mode.", "fields": { "behavior": { - "description": "[%key:component::climate::common::trigger_behavior_description%]", "name": "[%key:component::climate::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/counter/strings.json b/homeassistant/components/counter/strings.json index 5bede3a676b..4e728b0bc44 100644 --- a/homeassistant/components/counter/strings.json +++ b/homeassistant/components/counter/strings.json @@ -1,19 +1,16 @@ { "common": { - "trigger_behavior_description": "The behavior of the targeted counters to trigger on.", - "trigger_behavior_name": "Behavior" + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_value": { "description": "Tests the value of one or more counters.", "fields": { "behavior": { - "description": "How the state should match on the targeted counters.", - "name": "Behavior" + "name": "Condition passes if" }, "threshold": { - "description": "What to test for and threshold values.", - "name": "Threshold" + "name": "Threshold type" } }, "name": "Counter value" @@ -98,7 +95,6 @@ "description": "Triggers after one or more counters reach their maximum value.", "fields": { "behavior": { - "description": "[%key:component::counter::common::trigger_behavior_description%]", "name": "[%key:component::counter::common::trigger_behavior_name%]" } }, @@ -108,7 +104,6 @@ "description": "Triggers after one or more counters reach their minimum value.", "fields": { "behavior": { - "description": "[%key:component::counter::common::trigger_behavior_description%]", "name": "[%key:component::counter::common::trigger_behavior_name%]" } }, @@ -118,7 +113,6 @@ "description": "Triggers after one or more counters are reset.", "fields": { "behavior": { - "description": "[%key:component::counter::common::trigger_behavior_description%]", "name": "[%key:component::counter::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/cover/strings.json b/homeassistant/components/cover/strings.json index 30a25185aab..3be0ed28d79 100644 --- a/homeassistant/components/cover/strings.json +++ b/homeassistant/components/cover/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted covers.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted covers to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "awning_is_closed": { "description": "Tests if one or more awnings are closed.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more awnings are open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more blinds are closed.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more blinds are open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -50,7 +44,6 @@ "description": "Tests if one or more curtains are closed.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -60,7 +53,6 @@ "description": "Tests if one or more curtains are open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -70,7 +62,6 @@ "description": "Tests if one or more shades are closed.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -80,7 +71,6 @@ "description": "Tests if one or more shades are open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -90,7 +80,6 @@ "description": "Tests if one or more shutters are closed.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -100,7 +89,6 @@ "description": "Tests if one or more shutters are open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::condition_behavior_description%]", "name": "[%key:component::cover::common::condition_behavior_name%]" } }, @@ -265,7 +253,6 @@ "description": "Triggers after one or more awnings close.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -275,7 +262,6 @@ "description": "Triggers after one or more awnings open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -285,7 +271,6 @@ "description": "Triggers after one or more blinds close.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -295,7 +280,6 @@ "description": "Triggers after one or more blinds open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -305,7 +289,6 @@ "description": "Triggers after one or more curtains close.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -315,7 +298,6 @@ "description": "Triggers after one or more curtains open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -325,7 +307,6 @@ "description": "Triggers after one or more shades close.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -335,7 +316,6 @@ "description": "Triggers after one or more shades open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -345,7 +325,6 @@ "description": "Triggers after one or more shutters close.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, @@ -355,7 +334,6 @@ "description": "Triggers after one or more shutters open.", "fields": { "behavior": { - "description": "[%key:component::cover::common::trigger_behavior_description%]", "name": "[%key:component::cover::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/device_tracker/strings.json b/homeassistant/components/device_tracker/strings.json index f4f7031fa79..ff71fb30c65 100644 --- a/homeassistant/components/device_tracker/strings.json +++ b/homeassistant/components/device_tracker/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted device trackers.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted device trackers to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_home": { "description": "Tests if one or more device trackers are home.", "fields": { "behavior": { - "description": "[%key:component::device_tracker::common::condition_behavior_description%]", "name": "[%key:component::device_tracker::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more device trackers are not home.", "fields": { "behavior": { - "description": "[%key:component::device_tracker::common::condition_behavior_description%]", "name": "[%key:component::device_tracker::common::condition_behavior_name%]" } }, @@ -129,7 +125,6 @@ "description": "Triggers when one or more device trackers enter home.", "fields": { "behavior": { - "description": "[%key:component::device_tracker::common::trigger_behavior_description%]", "name": "[%key:component::device_tracker::common::trigger_behavior_name%]" } }, @@ -139,7 +134,6 @@ "description": "Triggers when one or more device trackers leave home.", "fields": { "behavior": { - "description": "[%key:component::device_tracker::common::trigger_behavior_description%]", "name": "[%key:component::device_tracker::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/door/strings.json b/homeassistant/components/door/strings.json index 8cad12e0299..c6e5961ceff 100644 --- a/homeassistant/components/door/strings.json +++ b/homeassistant/components/door/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted doors.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted doors to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_closed": { "description": "Tests if one or more doors are closed.", "fields": { "behavior": { - "description": "[%key:component::door::common::condition_behavior_description%]", "name": "[%key:component::door::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more doors are open.", "fields": { "behavior": { - "description": "[%key:component::door::common::condition_behavior_description%]", "name": "[%key:component::door::common::condition_behavior_name%]" } }, @@ -48,7 +44,6 @@ "description": "Triggers after one or more doors close.", "fields": { "behavior": { - "description": "[%key:component::door::common::trigger_behavior_description%]", "name": "[%key:component::door::common::trigger_behavior_name%]" } }, @@ -58,7 +53,6 @@ "description": "Triggers after one or more doors open.", "fields": { "behavior": { - "description": "[%key:component::door::common::trigger_behavior_description%]", "name": "[%key:component::door::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/fan/strings.json b/homeassistant/components/fan/strings.json index efeb6efa3fc..51a05b6bf4c 100644 --- a/homeassistant/components/fan/strings.json +++ b/homeassistant/components/fan/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted fans.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted fans to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_off": { "description": "Tests if one or more fans are off.", "fields": { "behavior": { - "description": "[%key:component::fan::common::condition_behavior_description%]", "name": "[%key:component::fan::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more fans are on.", "fields": { "behavior": { - "description": "[%key:component::fan::common::condition_behavior_description%]", "name": "[%key:component::fan::common::condition_behavior_name%]" } }, @@ -199,7 +195,6 @@ "description": "Triggers after one or more fans turn off.", "fields": { "behavior": { - "description": "[%key:component::fan::common::trigger_behavior_description%]", "name": "[%key:component::fan::common::trigger_behavior_name%]" } }, @@ -209,7 +204,6 @@ "description": "Triggers after one or more fans turn on.", "fields": { "behavior": { - "description": "[%key:component::fan::common::trigger_behavior_description%]", "name": "[%key:component::fan::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/garage_door/strings.json b/homeassistant/components/garage_door/strings.json index f0e50ad82a1..574a117f517 100644 --- a/homeassistant/components/garage_door/strings.json +++ b/homeassistant/components/garage_door/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted garage doors.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted garage doors to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_closed": { "description": "Tests if one or more garage doors are closed.", "fields": { "behavior": { - "description": "[%key:component::garage_door::common::condition_behavior_description%]", "name": "[%key:component::garage_door::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more garage doors are open.", "fields": { "behavior": { - "description": "[%key:component::garage_door::common::condition_behavior_description%]", "name": "[%key:component::garage_door::common::condition_behavior_name%]" } }, @@ -48,7 +44,6 @@ "description": "Triggers after one or more garage doors close.", "fields": { "behavior": { - "description": "[%key:component::garage_door::common::trigger_behavior_description%]", "name": "[%key:component::garage_door::common::trigger_behavior_name%]" } }, @@ -58,7 +53,6 @@ "description": "Triggers after one or more garage doors open.", "fields": { "behavior": { - "description": "[%key:component::garage_door::common::trigger_behavior_description%]", "name": "[%key:component::garage_door::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/gate/strings.json b/homeassistant/components/gate/strings.json index 134e9bb108f..ed1f04b0fc6 100644 --- a/homeassistant/components/gate/strings.json +++ b/homeassistant/components/gate/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted gates.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted gates to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_closed": { "description": "Tests if one or more gates are closed.", "fields": { "behavior": { - "description": "[%key:component::gate::common::condition_behavior_description%]", "name": "[%key:component::gate::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more gates are open.", "fields": { "behavior": { - "description": "[%key:component::gate::common::condition_behavior_description%]", "name": "[%key:component::gate::common::condition_behavior_name%]" } }, @@ -48,7 +44,6 @@ "description": "Triggers after one or more gates close.", "fields": { "behavior": { - "description": "[%key:component::gate::common::trigger_behavior_description%]", "name": "[%key:component::gate::common::trigger_behavior_name%]" } }, @@ -58,7 +53,6 @@ "description": "Triggers after one or more gates open.", "fields": { "behavior": { - "description": "[%key:component::gate::common::trigger_behavior_description%]", "name": "[%key:component::gate::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/humidifier/strings.json b/homeassistant/components/humidifier/strings.json index 82ae8b57436..ff7f28a2e5f 100644 --- a/homeassistant/components/humidifier/strings.json +++ b/homeassistant/components/humidifier/strings.json @@ -1,18 +1,14 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted humidifiers.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted humidifiers to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_drying": { "description": "Tests if one or more humidifiers are drying.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::condition_behavior_description%]", "name": "[%key:component::humidifier::common::condition_behavior_name%]" } }, @@ -22,7 +18,6 @@ "description": "Tests if one or more humidifiers are humidifying.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::condition_behavior_description%]", "name": "[%key:component::humidifier::common::condition_behavior_name%]" } }, @@ -32,7 +27,6 @@ "description": "Tests if one or more humidifiers are set to a specific mode.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::condition_behavior_description%]", "name": "[%key:component::humidifier::common::condition_behavior_name%]" }, "mode": { @@ -46,7 +40,6 @@ "description": "Tests if one or more humidifiers are off.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::condition_behavior_description%]", "name": "[%key:component::humidifier::common::condition_behavior_name%]" } }, @@ -56,7 +49,6 @@ "description": "Tests if one or more humidifiers are on.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::condition_behavior_description%]", "name": "[%key:component::humidifier::common::condition_behavior_name%]" } }, @@ -66,11 +58,9 @@ "description": "Tests the target humidity of one or more humidifiers.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::condition_behavior_description%]", "name": "[%key:component::humidifier::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::humidifier::common::condition_threshold_description%]", "name": "[%key:component::humidifier::common::condition_threshold_name%]" } }, @@ -219,7 +209,6 @@ "description": "Triggers after the operation mode of one or more humidifiers changes.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::trigger_behavior_description%]", "name": "[%key:component::humidifier::common::trigger_behavior_name%]" }, "mode": { @@ -233,7 +222,6 @@ "description": "Triggers after one or more humidifiers start drying.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::trigger_behavior_description%]", "name": "[%key:component::humidifier::common::trigger_behavior_name%]" } }, @@ -243,7 +231,6 @@ "description": "Triggers after one or more humidifiers start humidifying.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::trigger_behavior_description%]", "name": "[%key:component::humidifier::common::trigger_behavior_name%]" } }, @@ -253,7 +240,6 @@ "description": "Triggers after one or more humidifiers turn off.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::trigger_behavior_description%]", "name": "[%key:component::humidifier::common::trigger_behavior_name%]" } }, @@ -263,7 +249,6 @@ "description": "Triggers after one or more humidifiers turn on.", "fields": { "behavior": { - "description": "[%key:component::humidifier::common::trigger_behavior_description%]", "name": "[%key:component::humidifier::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/humidity/strings.json b/homeassistant/components/humidity/strings.json index 06836f05dce..20df0ca139a 100644 --- a/homeassistant/components/humidity/strings.json +++ b/homeassistant/components/humidity/strings.json @@ -1,25 +1,18 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted entities.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted entities to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_value": { "description": "Tests if a relative humidity value is above a threshold, below a threshold, or in a range of values.", "fields": { "behavior": { - "description": "[%key:component::humidity::common::condition_behavior_description%]", "name": "[%key:component::humidity::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::humidity::common::condition_threshold_description%]", "name": "[%key:component::humidity::common::condition_threshold_name%]" } }, @@ -47,7 +40,6 @@ "description": "Triggers after one or more relative humidity values change.", "fields": { "threshold": { - "description": "[%key:component::humidity::common::trigger_threshold_changed_description%]", "name": "[%key:component::humidity::common::trigger_threshold_name%]" } }, @@ -57,11 +49,9 @@ "description": "Triggers after one or more relative humidity values cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::humidity::common::trigger_behavior_description%]", "name": "[%key:component::humidity::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::humidity::common::trigger_threshold_crossed_description%]", "name": "[%key:component::humidity::common::trigger_threshold_name%]" } }, diff --git a/homeassistant/components/illuminance/strings.json b/homeassistant/components/illuminance/strings.json index 5ed11170df0..e1c478fff9f 100644 --- a/homeassistant/components/illuminance/strings.json +++ b/homeassistant/components/illuminance/strings.json @@ -1,21 +1,15 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted entities.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted entities to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_detected": { "description": "Tests if light is currently detected.", "fields": { "behavior": { - "description": "[%key:component::illuminance::common::condition_behavior_description%]", "name": "[%key:component::illuminance::common::condition_behavior_name%]" } }, @@ -25,7 +19,6 @@ "description": "Tests if light is currently not detected.", "fields": { "behavior": { - "description": "[%key:component::illuminance::common::condition_behavior_description%]", "name": "[%key:component::illuminance::common::condition_behavior_name%]" } }, @@ -35,11 +28,9 @@ "description": "Tests the illuminance value.", "fields": { "behavior": { - "description": "[%key:component::illuminance::common::condition_behavior_description%]", "name": "[%key:component::illuminance::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::illuminance::common::condition_threshold_description%]", "name": "[%key:component::illuminance::common::condition_threshold_name%]" } }, @@ -67,7 +58,6 @@ "description": "Triggers after one or more illuminance values change.", "fields": { "threshold": { - "description": "[%key:component::illuminance::common::trigger_threshold_changed_description%]", "name": "[%key:component::illuminance::common::trigger_threshold_name%]" } }, @@ -77,7 +67,6 @@ "description": "Triggers after one or more light sensors stop detecting light.", "fields": { "behavior": { - "description": "[%key:component::illuminance::common::trigger_behavior_description%]", "name": "[%key:component::illuminance::common::trigger_behavior_name%]" } }, @@ -87,11 +76,9 @@ "description": "Triggers after one or more illuminance values cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::illuminance::common::trigger_behavior_description%]", "name": "[%key:component::illuminance::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::illuminance::common::trigger_threshold_crossed_description%]", "name": "[%key:component::illuminance::common::trigger_threshold_name%]" } }, @@ -101,7 +88,6 @@ "description": "Triggers after one or more light sensors start detecting light.", "fields": { "behavior": { - "description": "[%key:component::illuminance::common::trigger_behavior_description%]", "name": "[%key:component::illuminance::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/lawn_mower/strings.json b/homeassistant/components/lawn_mower/strings.json index e882b260aeb..973d046979a 100644 --- a/homeassistant/components/lawn_mower/strings.json +++ b/homeassistant/components/lawn_mower/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted lawn mowers.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted lawn mowers to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_docked": { "description": "Tests if one or more lawn mowers are docked.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::condition_behavior_description%]", "name": "[%key:component::lawn_mower::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more lawn mowers are encountering an error.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::condition_behavior_description%]", "name": "[%key:component::lawn_mower::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more lawn mowers are mowing.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::condition_behavior_description%]", "name": "[%key:component::lawn_mower::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more lawn mowers are paused.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::condition_behavior_description%]", "name": "[%key:component::lawn_mower::common::condition_behavior_name%]" } }, @@ -50,7 +44,6 @@ "description": "Tests if one or more lawn mowers are returning to the dock.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::condition_behavior_description%]", "name": "[%key:component::lawn_mower::common::condition_behavior_name%]" } }, @@ -104,7 +97,6 @@ "description": "Triggers after one or more lawn mowers have returned to dock.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::trigger_behavior_description%]", "name": "[%key:component::lawn_mower::common::trigger_behavior_name%]" } }, @@ -114,7 +106,6 @@ "description": "Triggers after one or more lawn mowers encounter an error.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::trigger_behavior_description%]", "name": "[%key:component::lawn_mower::common::trigger_behavior_name%]" } }, @@ -124,7 +115,6 @@ "description": "Triggers after one or more lawn mowers pause mowing.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::trigger_behavior_description%]", "name": "[%key:component::lawn_mower::common::trigger_behavior_name%]" } }, @@ -134,7 +124,6 @@ "description": "Triggers after one or more lawn mowers start mowing.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::trigger_behavior_description%]", "name": "[%key:component::lawn_mower::common::trigger_behavior_name%]" } }, @@ -144,7 +133,6 @@ "description": "Triggers after one or more lawn mowers start returning to dock.", "fields": { "behavior": { - "description": "[%key:component::lawn_mower::common::trigger_behavior_description%]", "name": "[%key:component::lawn_mower::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/light/strings.json b/homeassistant/components/light/strings.json index dd0ae383c92..69356bb4ad8 100644 --- a/homeassistant/components/light/strings.json +++ b/homeassistant/components/light/strings.json @@ -1,9 +1,7 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted lights.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", "field_brightness_description": "Number indicating brightness, where 0 turns the light off, 1 is the minimum brightness, and 255 is the maximum brightness.", "field_brightness_name": "Brightness value", "field_brightness_pct_description": "Number indicating the percentage of full brightness, where 0 turns the light off, 1 is the minimum brightness, and 100 is the maximum brightness.", @@ -37,22 +35,17 @@ "field_xy_color_description": "Color in XY-format. A list of two decimal numbers between 0 and 1.", "field_xy_color_name": "XY-color", "section_advanced_fields_name": "Advanced options", - "trigger_behavior_description": "The behavior of the targeted lights to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_brightness": { "description": "Tests the brightness of one or more lights.", "fields": { "behavior": { - "description": "[%key:component::light::common::condition_behavior_description%]", "name": "[%key:component::light::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::light::common::condition_threshold_description%]", "name": "[%key:component::light::common::condition_threshold_name%]" } }, @@ -62,7 +55,6 @@ "description": "Tests if one or more lights are off.", "fields": { "behavior": { - "description": "[%key:component::light::common::condition_behavior_description%]", "name": "[%key:component::light::common::condition_behavior_name%]" } }, @@ -72,7 +64,6 @@ "description": "Tests if one or more lights are on.", "fields": { "behavior": { - "description": "[%key:component::light::common::condition_behavior_description%]", "name": "[%key:component::light::common::condition_behavior_name%]" } }, @@ -513,7 +504,6 @@ "description": "Triggers after the brightness of one or more lights changes.", "fields": { "threshold": { - "description": "[%key:component::light::common::trigger_threshold_changed_description%]", "name": "[%key:component::light::common::trigger_threshold_name%]" } }, @@ -523,11 +513,9 @@ "description": "Triggers after the brightness of one or more lights crosses a threshold.", "fields": { "behavior": { - "description": "[%key:component::light::common::trigger_behavior_description%]", "name": "[%key:component::light::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::light::common::trigger_threshold_crossed_description%]", "name": "[%key:component::light::common::trigger_threshold_name%]" } }, @@ -537,7 +525,6 @@ "description": "Triggers after one or more lights turn off.", "fields": { "behavior": { - "description": "[%key:component::light::common::trigger_behavior_description%]", "name": "[%key:component::light::common::trigger_behavior_name%]" } }, @@ -547,7 +534,6 @@ "description": "Triggers after one or more lights turn on.", "fields": { "behavior": { - "description": "[%key:component::light::common::trigger_behavior_description%]", "name": "[%key:component::light::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/lock/strings.json b/homeassistant/components/lock/strings.json index fea8afdfb04..b53a2f92cf3 100644 --- a/homeassistant/components/lock/strings.json +++ b/homeassistant/components/lock/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted locks.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted locks to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_jammed": { "description": "Tests if one or more locks are jammed.", "fields": { "behavior": { - "description": "[%key:component::lock::common::condition_behavior_description%]", "name": "[%key:component::lock::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more locks are locked.", "fields": { "behavior": { - "description": "[%key:component::lock::common::condition_behavior_description%]", "name": "[%key:component::lock::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more locks are open.", "fields": { "behavior": { - "description": "[%key:component::lock::common::condition_behavior_description%]", "name": "[%key:component::lock::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more locks are unlocked.", "fields": { "behavior": { - "description": "[%key:component::lock::common::condition_behavior_description%]", "name": "[%key:component::lock::common::condition_behavior_name%]" } }, @@ -151,7 +145,6 @@ "description": "Triggers after one or more locks jam.", "fields": { "behavior": { - "description": "[%key:component::lock::common::trigger_behavior_description%]", "name": "[%key:component::lock::common::trigger_behavior_name%]" } }, @@ -161,7 +154,6 @@ "description": "Triggers after one or more locks lock.", "fields": { "behavior": { - "description": "[%key:component::lock::common::trigger_behavior_description%]", "name": "[%key:component::lock::common::trigger_behavior_name%]" } }, @@ -171,7 +163,6 @@ "description": "Triggers after one or more locks open.", "fields": { "behavior": { - "description": "[%key:component::lock::common::trigger_behavior_description%]", "name": "[%key:component::lock::common::trigger_behavior_name%]" } }, @@ -181,7 +172,6 @@ "description": "Triggers after one or more locks unlock.", "fields": { "behavior": { - "description": "[%key:component::lock::common::trigger_behavior_description%]", "name": "[%key:component::lock::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/media_player/strings.json b/homeassistant/components/media_player/strings.json index 8ff5d13b225..d9ef8c05103 100644 --- a/homeassistant/components/media_player/strings.json +++ b/homeassistant/components/media_player/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted media players.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted media players to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_not_playing": { "description": "Tests if one or more media players are not playing.", "fields": { "behavior": { - "description": "[%key:component::media_player::common::condition_behavior_description%]", "name": "[%key:component::media_player::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more media players are off.", "fields": { "behavior": { - "description": "[%key:component::media_player::common::condition_behavior_description%]", "name": "[%key:component::media_player::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more media players are on.", "fields": { "behavior": { - "description": "[%key:component::media_player::common::condition_behavior_description%]", "name": "[%key:component::media_player::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more media players are paused.", "fields": { "behavior": { - "description": "[%key:component::media_player::common::condition_behavior_description%]", "name": "[%key:component::media_player::common::condition_behavior_name%]" } }, @@ -50,7 +44,6 @@ "description": "Tests if one or more media players are playing.", "fields": { "behavior": { - "description": "[%key:component::media_player::common::condition_behavior_description%]", "name": "[%key:component::media_player::common::condition_behavior_name%]" } }, @@ -444,7 +437,6 @@ "description": "Triggers after one or more media players stop playing media.", "fields": { "behavior": { - "description": "[%key:component::media_player::common::trigger_behavior_description%]", "name": "[%key:component::media_player::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/moisture/strings.json b/homeassistant/components/moisture/strings.json index c2f9705bcca..d125ccf9a5b 100644 --- a/homeassistant/components/moisture/strings.json +++ b/homeassistant/components/moisture/strings.json @@ -1,21 +1,15 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted entities.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted entities to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_detected": { "description": "Tests if one or more moisture sensors are detecting moisture.", "fields": { "behavior": { - "description": "[%key:component::moisture::common::condition_behavior_description%]", "name": "[%key:component::moisture::common::condition_behavior_name%]" } }, @@ -25,7 +19,6 @@ "description": "Tests if one or more moisture sensors are not detecting moisture.", "fields": { "behavior": { - "description": "[%key:component::moisture::common::condition_behavior_description%]", "name": "[%key:component::moisture::common::condition_behavior_name%]" } }, @@ -35,11 +28,9 @@ "description": "Tests the moisture level of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::moisture::common::condition_behavior_description%]", "name": "[%key:component::moisture::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::moisture::common::condition_threshold_description%]", "name": "[%key:component::moisture::common::condition_threshold_name%]" } }, @@ -67,7 +58,6 @@ "description": "Triggers after one or more moisture content values change.", "fields": { "threshold": { - "description": "[%key:component::moisture::common::trigger_threshold_changed_description%]", "name": "[%key:component::moisture::common::trigger_threshold_name%]" } }, @@ -77,7 +67,6 @@ "description": "Triggers after one or more moisture sensors stop detecting moisture.", "fields": { "behavior": { - "description": "[%key:component::moisture::common::trigger_behavior_description%]", "name": "[%key:component::moisture::common::trigger_behavior_name%]" } }, @@ -87,11 +76,9 @@ "description": "Triggers after one or more moisture content values cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::moisture::common::trigger_behavior_description%]", "name": "[%key:component::moisture::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::moisture::common::trigger_threshold_crossed_description%]", "name": "[%key:component::moisture::common::trigger_threshold_name%]" } }, @@ -101,7 +88,6 @@ "description": "Triggers after one or more moisture sensors start detecting moisture.", "fields": { "behavior": { - "description": "[%key:component::moisture::common::trigger_behavior_description%]", "name": "[%key:component::moisture::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/motion/strings.json b/homeassistant/components/motion/strings.json index cf810f0065c..44f8703d83d 100644 --- a/homeassistant/components/motion/strings.json +++ b/homeassistant/components/motion/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted motion sensors.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted motion sensors to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_detected": { "description": "Tests if one or more motion sensors are detecting motion.", "fields": { "behavior": { - "description": "[%key:component::motion::common::condition_behavior_description%]", "name": "[%key:component::motion::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more motion sensors are not detecting motion.", "fields": { "behavior": { - "description": "[%key:component::motion::common::condition_behavior_description%]", "name": "[%key:component::motion::common::condition_behavior_name%]" } }, @@ -48,7 +44,6 @@ "description": "Triggers after one or more motion sensors stop detecting motion.", "fields": { "behavior": { - "description": "[%key:component::motion::common::trigger_behavior_description%]", "name": "[%key:component::motion::common::trigger_behavior_name%]" } }, @@ -58,7 +53,6 @@ "description": "Triggers after one or more motion sensors start detecting motion.", "fields": { "behavior": { - "description": "[%key:component::motion::common::trigger_behavior_description%]", "name": "[%key:component::motion::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/occupancy/strings.json b/homeassistant/components/occupancy/strings.json index b93743b2bb8..062dfa8e336 100644 --- a/homeassistant/components/occupancy/strings.json +++ b/homeassistant/components/occupancy/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted occupancy sensors.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted occupancy sensors to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_detected": { "description": "Tests if one or more occupancy sensors are detecting occupancy.", "fields": { "behavior": { - "description": "[%key:component::occupancy::common::condition_behavior_description%]", "name": "[%key:component::occupancy::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more occupancy sensors are not detecting occupancy.", "fields": { "behavior": { - "description": "[%key:component::occupancy::common::condition_behavior_description%]", "name": "[%key:component::occupancy::common::condition_behavior_name%]" } }, @@ -48,7 +44,6 @@ "description": "Triggers after one or more occupancy sensors stop detecting occupancy.", "fields": { "behavior": { - "description": "[%key:component::occupancy::common::trigger_behavior_description%]", "name": "[%key:component::occupancy::common::trigger_behavior_name%]" } }, @@ -58,7 +53,6 @@ "description": "Triggers after one or more occupancy sensors start detecting occupancy.", "fields": { "behavior": { - "description": "[%key:component::occupancy::common::trigger_behavior_description%]", "name": "[%key:component::occupancy::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/person/strings.json b/homeassistant/components/person/strings.json index 24b430197f8..af211e373a7 100644 --- a/homeassistant/components/person/strings.json +++ b/homeassistant/components/person/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted persons.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted persons to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_home": { "description": "Tests if one or more persons are home.", "fields": { "behavior": { - "description": "[%key:component::person::common::condition_behavior_description%]", "name": "[%key:component::person::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more persons are not home.", "fields": { "behavior": { - "description": "[%key:component::person::common::condition_behavior_description%]", "name": "[%key:component::person::common::condition_behavior_name%]" } }, @@ -80,7 +76,6 @@ "description": "Triggers when one or more persons enter home.", "fields": { "behavior": { - "description": "[%key:component::person::common::trigger_behavior_description%]", "name": "[%key:component::person::common::trigger_behavior_name%]" } }, @@ -90,7 +85,6 @@ "description": "Triggers when one or more persons leave home.", "fields": { "behavior": { - "description": "[%key:component::person::common::trigger_behavior_description%]", "name": "[%key:component::person::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/power/strings.json b/homeassistant/components/power/strings.json index f4369b0e225..9be4af702e5 100644 --- a/homeassistant/components/power/strings.json +++ b/homeassistant/components/power/strings.json @@ -1,25 +1,18 @@ { "common": { - "condition_behavior_description": "How the power value should match on the targeted entities.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted entities to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_value": { "description": "Tests the power value of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::power::common::condition_behavior_description%]", "name": "[%key:component::power::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::power::common::condition_threshold_description%]", "name": "[%key:component::power::common::condition_threshold_name%]" } }, @@ -47,7 +40,6 @@ "description": "Triggers after one or more power values change.", "fields": { "threshold": { - "description": "[%key:component::power::common::trigger_threshold_changed_description%]", "name": "[%key:component::power::common::trigger_threshold_name%]" } }, @@ -57,11 +49,9 @@ "description": "Triggers after one or more power values cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::power::common::trigger_behavior_description%]", "name": "[%key:component::power::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::power::common::trigger_threshold_crossed_description%]", "name": "[%key:component::power::common::trigger_threshold_name%]" } }, diff --git a/homeassistant/components/remote/strings.json b/homeassistant/components/remote/strings.json index e2f6af02673..8cad5e289ac 100644 --- a/homeassistant/components/remote/strings.json +++ b/homeassistant/components/remote/strings.json @@ -1,7 +1,6 @@ { "common": { - "trigger_behavior_description": "The behavior of the targeted remotes to trigger on.", - "trigger_behavior_name": "Behavior" + "trigger_behavior_name": "Trigger when" }, "device_automation": { "action_type": { @@ -132,7 +131,6 @@ "description": "Triggers when one or more remotes turn off.", "fields": { "behavior": { - "description": "[%key:component::remote::common::trigger_behavior_description%]", "name": "[%key:component::remote::common::trigger_behavior_name%]" } }, @@ -142,7 +140,6 @@ "description": "Triggers when one or more remotes turn on.", "fields": { "behavior": { - "description": "[%key:component::remote::common::trigger_behavior_description%]", "name": "[%key:component::remote::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/schedule/strings.json b/homeassistant/components/schedule/strings.json index bb51bd39dc0..b8d3581a696 100644 --- a/homeassistant/components/schedule/strings.json +++ b/homeassistant/components/schedule/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted schedules.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted schedules to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_off": { "description": "Tests if one or more schedule blocks are currently not active.", "fields": { "behavior": { - "description": "[%key:component::schedule::common::condition_behavior_description%]", "name": "[%key:component::schedule::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more schedule blocks are currently active.", "fields": { "behavior": { - "description": "[%key:component::schedule::common::condition_behavior_description%]", "name": "[%key:component::schedule::common::condition_behavior_name%]" } }, @@ -79,7 +75,6 @@ "description": "Triggers when a schedule block ends.", "fields": { "behavior": { - "description": "[%key:component::schedule::common::trigger_behavior_description%]", "name": "[%key:component::schedule::common::trigger_behavior_name%]" } }, @@ -89,7 +84,6 @@ "description": "Triggers when a schedule block starts.", "fields": { "behavior": { - "description": "[%key:component::schedule::common::trigger_behavior_description%]", "name": "[%key:component::schedule::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/select/strings.json b/homeassistant/components/select/strings.json index cac07327f53..77f6d51a7fb 100644 --- a/homeassistant/components/select/strings.json +++ b/homeassistant/components/select/strings.json @@ -4,8 +4,7 @@ "description": "Tests if one or more dropdowns have a specific option selected.", "fields": { "behavior": { - "description": "Whether the condition should pass when any or all targeted entities match.", - "name": "Behavior" + "name": "Condition passes if" }, "option": { "description": "The options to check for.", diff --git a/homeassistant/components/siren/strings.json b/homeassistant/components/siren/strings.json index b33c2592255..e20c3421736 100644 --- a/homeassistant/components/siren/strings.json +++ b/homeassistant/components/siren/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted sirens.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted sirens to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_off": { "description": "Tests if one or more sirens are off.", "fields": { "behavior": { - "description": "[%key:component::siren::common::condition_behavior_description%]", "name": "[%key:component::siren::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more sirens are on.", "fields": { "behavior": { - "description": "[%key:component::siren::common::condition_behavior_description%]", "name": "[%key:component::siren::common::condition_behavior_name%]" } }, @@ -90,7 +86,6 @@ "description": "Triggers after one or more sirens turn off.", "fields": { "behavior": { - "description": "[%key:component::siren::common::trigger_behavior_description%]", "name": "[%key:component::siren::common::trigger_behavior_name%]" } }, @@ -100,7 +95,6 @@ "description": "Triggers after one or more sirens turn on.", "fields": { "behavior": { - "description": "[%key:component::siren::common::trigger_behavior_description%]", "name": "[%key:component::siren::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/switch/strings.json b/homeassistant/components/switch/strings.json index 93b406e4eb1..40f629b9e64 100644 --- a/homeassistant/components/switch/strings.json +++ b/homeassistant/components/switch/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted switches.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted switches to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_off": { "description": "Tests if one or more switches are off.", "fields": { "behavior": { - "description": "[%key:component::switch::common::condition_behavior_description%]", "name": "[%key:component::switch::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more switches are on.", "fields": { "behavior": { - "description": "[%key:component::switch::common::condition_behavior_description%]", "name": "[%key:component::switch::common::condition_behavior_name%]" } }, @@ -104,7 +100,6 @@ "description": "Triggers after one or more switches turn off.", "fields": { "behavior": { - "description": "[%key:component::switch::common::trigger_behavior_description%]", "name": "[%key:component::switch::common::trigger_behavior_name%]" } }, @@ -114,7 +109,6 @@ "description": "Triggers after one or more switches turn on.", "fields": { "behavior": { - "description": "[%key:component::switch::common::trigger_behavior_description%]", "name": "[%key:component::switch::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/temperature/strings.json b/homeassistant/components/temperature/strings.json index e1c74365759..c970474b78e 100644 --- a/homeassistant/components/temperature/strings.json +++ b/homeassistant/components/temperature/strings.json @@ -1,25 +1,18 @@ { "common": { - "condition_behavior_description": "How the temperature should match on the targeted entities.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted entities to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_value": { "description": "Tests the temperature of one or more entities.", "fields": { "behavior": { - "description": "[%key:component::temperature::common::condition_behavior_description%]", "name": "[%key:component::temperature::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::temperature::common::condition_threshold_description%]", "name": "[%key:component::temperature::common::condition_threshold_name%]" } }, @@ -47,7 +40,6 @@ "description": "Triggers after one or more temperatures change.", "fields": { "threshold": { - "description": "[%key:component::temperature::common::trigger_threshold_changed_description%]", "name": "[%key:component::temperature::common::trigger_threshold_name%]" } }, @@ -57,11 +49,9 @@ "description": "Triggers after one or more temperatures cross a threshold.", "fields": { "behavior": { - "description": "[%key:component::temperature::common::trigger_behavior_description%]", "name": "[%key:component::temperature::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::temperature::common::trigger_threshold_crossed_description%]", "name": "[%key:component::temperature::common::trigger_threshold_name%]" } }, diff --git a/homeassistant/components/text/strings.json b/homeassistant/components/text/strings.json index e7fea2f230e..0eae84e3013 100644 --- a/homeassistant/components/text/strings.json +++ b/homeassistant/components/text/strings.json @@ -1,14 +1,12 @@ { "common": { - "condition_behavior_description": "The behavior of the targeted texts to check.", - "condition_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if" }, "conditions": { "is_equal_to": { "description": "Tests if one or more texts are equal to a specified value.", "fields": { "behavior": { - "description": "[%key:component::text::common::condition_behavior_description%]", "name": "[%key:component::text::common::condition_behavior_name%]" }, "value": { diff --git a/homeassistant/components/timer/strings.json b/homeassistant/components/timer/strings.json index 0b54a62f68b..4a3e6c2a3b3 100644 --- a/homeassistant/components/timer/strings.json +++ b/homeassistant/components/timer/strings.json @@ -1,14 +1,12 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted timers.", - "condition_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if" }, "conditions": { "is_active": { "description": "Tests if one or more timers are active.", "fields": { "behavior": { - "description": "[%key:component::timer::common::condition_behavior_description%]", "name": "[%key:component::timer::common::condition_behavior_name%]" } }, @@ -18,7 +16,6 @@ "description": "Tests if one or more timers are idle.", "fields": { "behavior": { - "description": "[%key:component::timer::common::condition_behavior_description%]", "name": "[%key:component::timer::common::condition_behavior_name%]" } }, @@ -28,7 +25,6 @@ "description": "Tests if one or more timers are paused.", "fields": { "behavior": { - "description": "[%key:component::timer::common::condition_behavior_description%]", "name": "[%key:component::timer::common::condition_behavior_name%]" } }, diff --git a/homeassistant/components/update/strings.json b/homeassistant/components/update/strings.json index c0851796efe..7634d59a3c3 100644 --- a/homeassistant/components/update/strings.json +++ b/homeassistant/components/update/strings.json @@ -1,7 +1,6 @@ { "common": { - "trigger_behavior_description": "The behavior of the targeted updates to become available.", - "trigger_behavior_name": "Behavior" + "trigger_behavior_name": "Trigger when" }, "device_automation": { "extra_fields": { @@ -98,7 +97,6 @@ "description": "Triggers after one or more updates become available.", "fields": { "behavior": { - "description": "[%key:component::update::common::trigger_behavior_description%]", "name": "[%key:component::update::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/vacuum/strings.json b/homeassistant/components/vacuum/strings.json index ebd0febdbed..364a4bfef0e 100644 --- a/homeassistant/components/vacuum/strings.json +++ b/homeassistant/components/vacuum/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted vacuum cleaners.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted vacuum cleaners to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_cleaning": { "description": "Tests if one or more vacuum cleaners are cleaning.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::condition_behavior_description%]", "name": "[%key:component::vacuum::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more vacuum cleaners are docked.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::condition_behavior_description%]", "name": "[%key:component::vacuum::common::condition_behavior_name%]" } }, @@ -30,7 +26,6 @@ "description": "Tests if one or more vacuum cleaners are encountering an error.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::condition_behavior_description%]", "name": "[%key:component::vacuum::common::condition_behavior_name%]" } }, @@ -40,7 +35,6 @@ "description": "Tests if one or more vacuum cleaners are paused.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::condition_behavior_description%]", "name": "[%key:component::vacuum::common::condition_behavior_name%]" } }, @@ -50,7 +44,6 @@ "description": "Tests if one or more vacuum cleaners are returning to the dock.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::condition_behavior_description%]", "name": "[%key:component::vacuum::common::condition_behavior_name%]" } }, @@ -197,7 +190,6 @@ "description": "Triggers after one or more vacuums have returned to dock.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::trigger_behavior_description%]", "name": "[%key:component::vacuum::common::trigger_behavior_name%]" } }, @@ -207,7 +199,6 @@ "description": "Triggers after one or more vacuums encounter an error.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::trigger_behavior_description%]", "name": "[%key:component::vacuum::common::trigger_behavior_name%]" } }, @@ -217,7 +208,6 @@ "description": "Triggers after one or more vacuums pause cleaning.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::trigger_behavior_description%]", "name": "[%key:component::vacuum::common::trigger_behavior_name%]" } }, @@ -227,7 +217,6 @@ "description": "Triggers after one or more vacuums start cleaning.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::trigger_behavior_description%]", "name": "[%key:component::vacuum::common::trigger_behavior_name%]" } }, @@ -237,7 +226,6 @@ "description": "Triggers after one or more vacuums start returning to dock.", "fields": { "behavior": { - "description": "[%key:component::vacuum::common::trigger_behavior_description%]", "name": "[%key:component::vacuum::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/valve/strings.json b/homeassistant/components/valve/strings.json index cd01e3142cf..3775f38fb18 100644 --- a/homeassistant/components/valve/strings.json +++ b/homeassistant/components/valve/strings.json @@ -1,15 +1,14 @@ { "common": { - "trigger_behavior_description": "The behavior of the targeted valves to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_closed": { "description": "Tests if one or more valves are closed.", "fields": { "behavior": { - "description": "Whether the condition should pass when any or all targeted entities match.", - "name": "Behavior" + "name": "[%key:component::valve::common::condition_behavior_name%]" } }, "name": "Valve is closed" @@ -18,8 +17,7 @@ "description": "Tests if one or more valves are open.", "fields": { "behavior": { - "description": "Whether the condition should pass when any or all targeted entities match.", - "name": "Behavior" + "name": "[%key:component::valve::common::condition_behavior_name%]" } }, "name": "Valve is open" @@ -97,7 +95,6 @@ "description": "Triggers after one or more valves close.", "fields": { "behavior": { - "description": "[%key:component::valve::common::trigger_behavior_description%]", "name": "[%key:component::valve::common::trigger_behavior_name%]" } }, @@ -107,7 +104,6 @@ "description": "Triggers after one or more valves open.", "fields": { "behavior": { - "description": "[%key:component::valve::common::trigger_behavior_description%]", "name": "[%key:component::valve::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/water_heater/strings.json b/homeassistant/components/water_heater/strings.json index 46362df0654..1e7da70662a 100644 --- a/homeassistant/components/water_heater/strings.json +++ b/homeassistant/components/water_heater/strings.json @@ -1,21 +1,15 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted water heaters.", - "condition_behavior_name": "Behavior", - "condition_threshold_description": "What to test for and threshold values.", - "condition_threshold_name": "Threshold configuration", - "trigger_behavior_description": "The behavior of the targeted water heaters to trigger on.", - "trigger_behavior_name": "Behavior", - "trigger_threshold_changed_description": "Which changes to trigger on and threshold values.", - "trigger_threshold_crossed_description": "Which threshold crossing to trigger on and threshold values.", - "trigger_threshold_name": "Threshold configuration" + "condition_behavior_name": "Condition passes if", + "condition_threshold_name": "Threshold type", + "trigger_behavior_name": "Trigger when", + "trigger_threshold_name": "Threshold type" }, "conditions": { "is_off": { "description": "Tests if one or more water heaters are off.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::condition_behavior_description%]", "name": "[%key:component::water_heater::common::condition_behavior_name%]" } }, @@ -25,7 +19,6 @@ "description": "Tests if one or more water heaters are on.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::condition_behavior_description%]", "name": "[%key:component::water_heater::common::condition_behavior_name%]" } }, @@ -35,7 +28,6 @@ "description": "Tests if one or more water heaters are set to a specific operation mode.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::condition_behavior_description%]", "name": "[%key:component::water_heater::common::condition_behavior_name%]" }, "operation_mode": { @@ -49,11 +41,9 @@ "description": "Tests the temperature setpoint of one or more water heaters.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::condition_behavior_description%]", "name": "[%key:component::water_heater::common::condition_behavior_name%]" }, "threshold": { - "description": "[%key:component::water_heater::common::condition_threshold_description%]", "name": "[%key:component::water_heater::common::condition_threshold_name%]" } }, @@ -192,7 +182,6 @@ "description": "Triggers after the operation mode of one or more water heaters changes to a specific mode.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::trigger_behavior_description%]", "name": "[%key:component::water_heater::common::trigger_behavior_name%]" }, "operation_mode": { @@ -206,7 +195,6 @@ "description": "Triggers after the temperature setpoint of one or more water heaters changes.", "fields": { "threshold": { - "description": "[%key:component::water_heater::common::trigger_threshold_changed_description%]", "name": "[%key:component::water_heater::common::trigger_threshold_name%]" } }, @@ -216,11 +204,9 @@ "description": "Triggers after the temperature setpoint of one or more water heaters crosses a threshold.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::trigger_behavior_description%]", "name": "[%key:component::water_heater::common::trigger_behavior_name%]" }, "threshold": { - "description": "[%key:component::water_heater::common::trigger_threshold_crossed_description%]", "name": "[%key:component::water_heater::common::trigger_threshold_name%]" } }, @@ -230,7 +216,6 @@ "description": "Triggers after one or more water heaters turn off.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::trigger_behavior_description%]", "name": "[%key:component::water_heater::common::trigger_behavior_name%]" } }, @@ -240,7 +225,6 @@ "description": "Triggers after one or more water heaters turn on, regardless of the operation mode.", "fields": { "behavior": { - "description": "[%key:component::water_heater::common::trigger_behavior_description%]", "name": "[%key:component::water_heater::common::trigger_behavior_name%]" } }, diff --git a/homeassistant/components/window/strings.json b/homeassistant/components/window/strings.json index b0b4d3f4aef..5f8de98998f 100644 --- a/homeassistant/components/window/strings.json +++ b/homeassistant/components/window/strings.json @@ -1,16 +1,13 @@ { "common": { - "condition_behavior_description": "How the state should match on the targeted windows.", - "condition_behavior_name": "Behavior", - "trigger_behavior_description": "The behavior of the targeted windows to trigger on.", - "trigger_behavior_name": "Behavior" + "condition_behavior_name": "Condition passes if", + "trigger_behavior_name": "Trigger when" }, "conditions": { "is_closed": { "description": "Tests if one or more windows are closed.", "fields": { "behavior": { - "description": "[%key:component::window::common::condition_behavior_description%]", "name": "[%key:component::window::common::condition_behavior_name%]" } }, @@ -20,7 +17,6 @@ "description": "Tests if one or more windows are open.", "fields": { "behavior": { - "description": "[%key:component::window::common::condition_behavior_description%]", "name": "[%key:component::window::common::condition_behavior_name%]" } }, @@ -48,7 +44,6 @@ "description": "Triggers after one or more windows close.", "fields": { "behavior": { - "description": "[%key:component::window::common::trigger_behavior_description%]", "name": "[%key:component::window::common::trigger_behavior_name%]" } }, @@ -58,7 +53,6 @@ "description": "Triggers after one or more windows open.", "fields": { "behavior": { - "description": "[%key:component::window::common::trigger_behavior_description%]", "name": "[%key:component::window::common::trigger_behavior_name%]" } },