2019-09-09 14:55:47 +00:00
|
|
|
{
|
2020-04-16 18:52:27 +00:00
|
|
|
"title": "Switch",
|
2019-09-09 14:55:47 +00:00
|
|
|
"device_automation": {
|
|
|
|
"action_type": {
|
2023-07-10 10:56:51 +00:00
|
|
|
"toggle": "[%key:common::device_automation::action_type::toggle%]",
|
|
|
|
"turn_on": "[%key:common::device_automation::action_type::turn_on%]",
|
|
|
|
"turn_off": "[%key:common::device_automation::action_type::turn_off%]"
|
2019-09-09 14:55:47 +00:00
|
|
|
},
|
|
|
|
"condition_type": {
|
2023-07-10 10:56:51 +00:00
|
|
|
"is_on": "[%key:common::device_automation::condition_type::is_on%]",
|
|
|
|
"is_off": "[%key:common::device_automation::condition_type::is_off%]"
|
2019-09-09 14:55:47 +00:00
|
|
|
},
|
|
|
|
"trigger_type": {
|
2023-07-10 10:56:51 +00:00
|
|
|
"changed_states": "[%key:common::device_automation::trigger_type::changed_states%]",
|
|
|
|
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]",
|
|
|
|
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]"
|
2019-09-09 14:55:47 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2023-03-16 11:16:08 +00:00
|
|
|
"entity_component": {
|
2020-04-20 23:25:35 +00:00
|
|
|
"_": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "[%key:component::switch::title%]",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::off%]",
|
|
|
|
"on": "[%key:common::state::on%]"
|
|
|
|
}
|
2023-03-16 20:10:20 +00:00
|
|
|
},
|
|
|
|
"switch": {
|
2023-10-20 06:12:53 +00:00
|
|
|
"name": "[%key:component::switch::title%]"
|
2023-03-16 20:10:20 +00:00
|
|
|
},
|
|
|
|
"outlet": {
|
|
|
|
"name": "Outlet"
|
2020-04-20 23:25:35 +00:00
|
|
|
}
|
2023-07-12 10:53:24 +00:00
|
|
|
},
|
|
|
|
"services": {
|
|
|
|
"turn_on": {
|
2023-07-13 02:00:05 +00:00
|
|
|
"name": "[%key:common::action::turn_on%]",
|
2023-07-12 10:53:24 +00:00
|
|
|
"description": "Turns a switch on."
|
|
|
|
},
|
|
|
|
"turn_off": {
|
2023-07-13 02:00:05 +00:00
|
|
|
"name": "[%key:common::action::turn_off%]",
|
2023-07-12 10:53:24 +00:00
|
|
|
"description": "Turns a switch off."
|
|
|
|
},
|
|
|
|
"toggle": {
|
2023-07-13 02:00:05 +00:00
|
|
|
"name": "[%key:common::action::toggle%]",
|
2023-07-12 10:53:24 +00:00
|
|
|
"description": "Toggles a switch on/off."
|
|
|
|
}
|
2019-09-09 14:55:47 +00:00
|
|
|
}
|
|
|
|
}
|