Pass the config entry to the ProgettiHWSW coordinators (#180566)

This commit is contained in:
Franck Nijhof
2026-08-29 01:23:57 +02:00
committed by GitHub
parent 0e790fdc9f
commit 4e16893496
2 changed files with 2 additions and 0 deletions
@@ -38,6 +38,7 @@ async def async_setup_entry(
coordinator = DataUpdateCoordinator(
hass,
_LOGGER,
config_entry=config_entry,
name="binary_sensor",
update_method=async_update_data,
update_interval=timedelta(seconds=DEFAULT_POLLING_INTERVAL_SEC),
@@ -38,6 +38,7 @@ async def async_setup_entry(
coordinator = DataUpdateCoordinator(
hass,
_LOGGER,
config_entry=config_entry,
name="switch",
update_method=async_update_data,
update_interval=timedelta(seconds=DEFAULT_POLLING_INTERVAL_SEC),