mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Add device automation action (#26455)
* Add support for device actions, with light as example. * Add translation; return list
This commit is contained in:
committed by
Paulus Schoutsen
parent
23fdc04554
commit
b1c2a5fa08
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user