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