Fix 'same state' monitoring in numeric_state trigger (#24910)
This commit is contained in:
parent
c0a342d790
commit
945afbc6d4
2 changed files with 104 additions and 1 deletions
|
@ -79,7 +79,7 @@ async def async_trigger(hass, config, action, automation_info):
|
|||
|
||||
if time_delta:
|
||||
unsub_track_same[entity] = async_track_same_state(
|
||||
hass, time_delta, call_action, entity_ids=entity_id,
|
||||
hass, time_delta, call_action, entity_ids=entity,
|
||||
async_check_same_func=check_numeric_state)
|
||||
else:
|
||||
call_action()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue