Files
core/homeassistant/components/switch/strings.json
T
Erik MontnemeryandGitHub b14b14c3c9 Add device automation support to switch entities (#26466)
* Add device automation support to switch entities

* Update switch translations

* Address review comments
2019-09-09 16:55:47 +02:00

18 lines
423 B
JSON

{
"device_automation": {
"action_type": {
"toggle": "Toggle {entity_name}",
"turn_on": "Turn on {entity_name}",
"turn_off": "Turn off {entity_name}"
},
"condition_type": {
"turn_on": "{entity_name} turned on",
"turn_off": "{entity_name} turned off"
},
"trigger_type": {
"turn_on": "{entity_name} turned on",
"turn_off": "{entity_name} turned off"
}
}
}