Add if to automation
This commit is contained in:
parent
046c5653cb
commit
2a11d02fe4
8 changed files with 275 additions and 11 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue