Deprecate calling async_listen and async_listen_once with run_immediately (#115169)
This commit is contained in:
parent
5ef42078a3
commit
ca5ed274cb
67 changed files with 126 additions and 243 deletions
|
@ -50,7 +50,7 @@ def _async_at_core_state(
|
|||
if unsub:
|
||||
unsub()
|
||||
|
||||
unsub = hass.bus.async_listen_once(event_type, _matched_event, run_immediately=True)
|
||||
unsub = hass.bus.async_listen_once(event_type, _matched_event)
|
||||
return cancel
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue