mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Erik Montnemery](/assets/img/avatar_default.png)
* Add switch_as_x integration * Address review comments * Add translation strings * Rename entity_type option to target_domain * Move LightSwitch class definition to switch_as_x/light.py * Update manifest * Move tests
26 lines
612 B
JSON
26 lines
612 B
JSON
{
|
|
"title": "Switch",
|
|
"device_automation": {
|
|
"action_type": {
|
|
"toggle": "Toggle {entity_name}",
|
|
"turn_on": "Turn on {entity_name}",
|
|
"turn_off": "Turn off {entity_name}"
|
|
},
|
|
"condition_type": {
|
|
"is_on": "{entity_name} is on",
|
|
"is_off": "{entity_name} is off"
|
|
},
|
|
"trigger_type": {
|
|
"changed_states": "{entity_name} turned on or off",
|
|
"turned_on": "{entity_name} turned on",
|
|
"turned_off": "{entity_name} turned off"
|
|
}
|
|
},
|
|
"state": {
|
|
"_": {
|
|
"off": "[%key:common::state::off%]",
|
|
"on": "[%key:common::state::on%]"
|
|
}
|
|
}
|
|
}
|