mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Deprecate calling async_listen and async_listen_once with run_immediately (#115169)
This commit is contained in:
@@ -782,7 +782,6 @@ class AutomationEntity(BaseAutomationEntity, RestoreEntity):
|
||||
self.hass.bus.async_listen_once(
|
||||
EVENT_HOMEASSISTANT_STARTED,
|
||||
self._async_enable_automation,
|
||||
run_immediately=True,
|
||||
)
|
||||
self.async_write_ha_state()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user