Add device automation support to switch entities (#26466)

* Add device automation support to switch entities

* Update switch translations

* Address review comments
This commit is contained in:
Erik Montnemery authored and GitHub committed 2019-09-09 16:55:47 +02:00
1 parent fec6706bf7
commit b14b14c3c9
7 files changed
+687 -216

No files matched your search

@@ -0,0 +1,17 @@
{
"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"
}
}
}