1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Rename bus._async_fire to bus.async_fire_internal (#116027)

This commit is contained in:
J. Nick Koston
2024-04-23 22:28:31 +02:00
committed by GitHub
parent 31d11b2362
commit a22c221722
5 changed files with 32 additions and 20 deletions

View File

@@ -459,7 +459,9 @@ async def _async_setup_component(
# Cleanup
hass.data[DATA_SETUP].pop(domain, None)
hass.bus.async_fire(EVENT_COMPONENT_LOADED, EventComponentLoaded(component=domain))
hass.bus.async_fire_internal(
EVENT_COMPONENT_LOADED, EventComponentLoaded(component=domain)
)
return True