Fix 'same state' monitoring in numeric_state trigger (#24910)
This commit is contained in:
1 parent
c0a342d790
commit
945afbc6d4
2 files changed
+104
-1
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user