mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 02:38:10 +02:00
Deprecate calling async_listen and async_listen_once with run_immediately (#115169)
This commit is contained in:
@ -165,7 +165,7 @@ def handle_subscribe_events(
|
||||
)
|
||||
|
||||
connection.subscriptions[msg["id"]] = hass.bus.async_listen(
|
||||
event_type, forward_events, run_immediately=True
|
||||
event_type, forward_events
|
||||
)
|
||||
|
||||
connection.send_result(msg["id"])
|
||||
@ -410,7 +410,6 @@ def handle_subscribe_entities(
|
||||
connection.user,
|
||||
msg["id"],
|
||||
),
|
||||
run_immediately=True,
|
||||
)
|
||||
connection.send_result(msg["id"])
|
||||
|
||||
|
Reference in New Issue
Block a user