mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 08:07:45 +00:00
Drop useless passing of update_method to DataUpdateCoordinator (#100355)
This commit is contained in:
parent
85fafcad11
commit
4f58df1929
@ -30,7 +30,6 @@ class GoodweUpdateCoordinator(DataUpdateCoordinator[dict[str, Any]]):
|
|||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=entry.title,
|
name=entry.title,
|
||||||
update_interval=SCAN_INTERVAL,
|
update_interval=SCAN_INTERVAL,
|
||||||
update_method=self._async_update_data,
|
|
||||||
)
|
)
|
||||||
self.inverter: Inverter = inverter
|
self.inverter: Inverter = inverter
|
||||||
self._last_data: dict[str, Any] = {}
|
self._last_data: dict[str, Any] = {}
|
||||||
|
@ -54,7 +54,6 @@ class RainbirdUpdateCoordinator(DataUpdateCoordinator[RainbirdDeviceState]):
|
|||||||
hass,
|
hass,
|
||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=name,
|
name=name,
|
||||||
update_method=self._async_update_data,
|
|
||||||
update_interval=UPDATE_INTERVAL,
|
update_interval=UPDATE_INTERVAL,
|
||||||
)
|
)
|
||||||
self._controller = controller
|
self._controller = controller
|
||||||
|
@ -107,7 +107,6 @@ class VizioAppsDataUpdateCoordinator(DataUpdateCoordinator[list[dict[str, Any]]]
|
|||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=DOMAIN,
|
name=DOMAIN,
|
||||||
update_interval=timedelta(days=1),
|
update_interval=timedelta(days=1),
|
||||||
update_method=self._async_update_data,
|
|
||||||
)
|
)
|
||||||
self.fail_count = 0
|
self.fail_count = 0
|
||||||
self.fail_threshold = 10
|
self.fail_threshold = 10
|
||||||
|
@ -39,7 +39,6 @@ class YardianUpdateCoordinator(DataUpdateCoordinator[YardianDeviceState]):
|
|||||||
hass,
|
hass,
|
||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=entry.title,
|
name=entry.title,
|
||||||
update_method=self._async_update_data,
|
|
||||||
update_interval=SCAN_INTERVAL,
|
update_interval=SCAN_INTERVAL,
|
||||||
always_update=False,
|
always_update=False,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user