{ "common": { "trigger_behavior_description": "The behavior of the targeted switches to trigger on.", "trigger_behavior_name": "Behavior" }, "device_automation": { "action_type": { "toggle": "[%key:common::device_automation::action_type::toggle%]", "turn_off": "[%key:common::device_automation::action_type::turn_off%]", "turn_on": "[%key:common::device_automation::action_type::turn_on%]" }, "condition_type": { "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%]" }, "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%]" } }, "entity_component": { "_": { "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%]" } }, "switch": { "name": "[%key:component::switch::title%]", "state": { "off": "[%key:common::state::off%]", "on": "[%key:common::state::on%]" } } }, "selector": { "trigger_behavior": { "options": { "any": "Any", "first": "First", "last": "Last" } } }, "services": { "toggle": { "description": "Toggles a switch on/off.", "name": "[%key:common::action::toggle%]" }, "turn_off": { "description": "Turns a switch off.", "name": "[%key:common::action::turn_off%]" }, "turn_on": { "description": "Turns a switch on.", "name": "[%key:common::action::turn_on%]" } }, "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" } } }