mirror of
https://github.com/home-assistant/core.git
synced 2026-09-04 20:42:21 +01:00
Pass the config entry to the ProgettiHWSW coordinators (#180566)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user