mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 08:47:57 +00:00
Remove uneeded logger param from Idasen Desk Coordinator (#133485)
This commit is contained in:
parent
ecb3bf79f3
commit
ca2c7280eb
@ -27,7 +27,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: IdasenDeskConfigEntry) -
|
||||
"""Set up IKEA Idasen from a config entry."""
|
||||
address: str = entry.data[CONF_ADDRESS].upper()
|
||||
|
||||
coordinator = IdasenDeskCoordinator(hass, _LOGGER, entry.title, address)
|
||||
coordinator = IdasenDeskCoordinator(hass, entry.title, address)
|
||||
entry.runtime_data = coordinator
|
||||
|
||||
try:
|
||||
|
@ -19,13 +19,12 @@ class IdasenDeskCoordinator(DataUpdateCoordinator[int | None]):
|
||||
def __init__(
|
||||
self,
|
||||
hass: HomeAssistant,
|
||||
logger: logging.Logger,
|
||||
name: str,
|
||||
address: str,
|
||||
) -> None:
|
||||
"""Init IdasenDeskCoordinator."""
|
||||
|
||||
super().__init__(hass, logger, name=name)
|
||||
super().__init__(hass, _LOGGER, name=name)
|
||||
self.address = address
|
||||
self._expected_connected = False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user