Add device automation action (#26455)

* Add support for device actions, with light as example.

* Add translation; return list
This commit is contained in:
Erik Montnemery authored and Paulus Schoutsen committed 2019-09-05 16:26:22 -07:00
1 parent 23fdc04554
commit b1c2a5fa08
8 files changed
+274 -2

No files matched your search

@@ -1,5 +1,10 @@
{
"device_automation": {
"action_type": {
"toggle": "Toggle {name}",
"turn_on": "Turn on {name}",
"turn_off": "Turn off {name}"
},
"condition_type": {
"is_on": "{name} is on",
"is_off": "{name} is off"