Add if to automation
This commit is contained in:
1 parent
046c5653cb
commit
2a11d02fe4
8 files changed
+275
-11
No files matched your search
@@ -16,7 +16,7 @@ CONF_ABOVE = "state_above"
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def register(hass, config, action):
|
||||
def trigger(hass, config, action):
|
||||
""" Listen for state changes based on `config`. """
|
||||
entity_id = config.get(CONF_ENTITY_ID)
|
||||
|
||||
|
||||
Reference in new issue
Block a user