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,6 @@
"""Constants for device automations."""
CONF_IS_OFF = "is_off"
CONF_IS_ON = "is_on"
CONF_TOGGLE = "toggle"
CONF_TURN_OFF = "turn_off"
CONF_TURN_ON = "turn_on"