1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Explicitly pass config_entry in Control4 integration (#159920)

This commit is contained in:
David Recordon
2025-12-28 23:07:33 -08:00
committed by GitHub
parent 12047e8499
commit 25fc41a934
2 changed files with 3 additions and 0 deletions
@@ -66,6 +66,7 @@ async def async_setup_entry(
name="light",
update_method=async_update_data_non_dimmer,
update_interval=timedelta(seconds=runtime_data.scan_interval),
config_entry=entry,
)
dimmer_coordinator = DataUpdateCoordinator[dict[int, dict[str, Any]]](
hass,
@@ -73,6 +74,7 @@ async def async_setup_entry(
name="light",
update_method=async_update_data_dimmer,
update_interval=timedelta(seconds=runtime_data.scan_interval),
config_entry=entry,
)
# Fetch initial data so we have data when entities subscribe
@@ -110,6 +110,7 @@ async def async_setup_entry(
name="room",
update_method=async_update_data,
update_interval=timedelta(seconds=scan_interval),
config_entry=entry,
)
# Fetch initial data so we have data when entities subscribe