Files
core/homeassistant/components/switch/strings.json
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

125 lines
3.7 KiB
JSON
Raw Normal View History

{
"common": {
2026-01-26 16:13:19 +01:00
"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"
},
2026-01-26 16:13:19 +01:00
"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%]"
}
},
"name": "Switch is off"
},
"is_on": {
"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%]"
}
},
"name": "Switch is on"
}
},
"device_automation": {
"action_type": {
"toggle": "[%key:common::device_automation::action_type::toggle%]",
2025-10-28 10:33:10 +01:00
"turn_off": "[%key:common::device_automation::action_type::turn_off%]",
"turn_on": "[%key:common::device_automation::action_type::turn_on%]"
},
"condition_type": {
2025-10-28 10:33:10 +01:00
"is_off": "[%key:common::device_automation::condition_type::is_off%]",
"is_on": "[%key:common::device_automation::condition_type::is_on%]"
},
"extra_fields": {
"for": "[%key:common::device_automation::extra_fields::for%]"
2025-10-28 10:33:10 +01:00
},
"trigger_type": {
"changed_states": "[%key:common::device_automation::trigger_type::changed_states%]",
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]",
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]"
}
2020-04-20 16:25:35 -07:00
},
"entity_component": {
2020-04-20 16:25:35 -07:00
"_": {
"name": "[%key:component::switch::title%]",
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
}
},
"outlet": {
"name": "Outlet",
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
}
2025-10-28 10:33:10 +01:00
},
"switch": {
"name": "[%key:component::switch::title%]",
"state": {
"off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]"
}
2020-04-20 16:25:35 -07:00
}
},
"selector": {
2026-01-26 16:13:19 +01:00
"condition_behavior": {
"options": {
"all": "All",
"any": "Any"
}
},
"trigger_behavior": {
"options": {
"any": "Any",
"first": "First",
"last": "Last"
}
}
},
"services": {
2025-10-28 10:33:10 +01:00
"toggle": {
"description": "Toggles a switch on/off.",
"name": "[%key:common::action::toggle%]"
},
"turn_off": {
2025-10-28 10:33:10 +01:00
"description": "Turns a switch off.",
"name": "[%key:common::action::turn_off%]"
},
2025-10-28 10:33:10 +01:00
"turn_on": {
"description": "Turns a switch on.",
"name": "[%key:common::action::turn_on%]"
}
2025-10-28 10:33:10 +01:00
},
"title": "Switch",
"triggers": {
"turned_off": {
"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%]"
}
},
"name": "Switch turned off"
},
"turned_on": {
"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%]"
}
},
"name": "Switch turned on"
}
}
}