Remove uneeded logger param from Idasen Desk Coordinator (#133485)

This commit is contained in:
Abílio Costa 2024-12-18 12:59:56 +00:00 committed by GitHub
parent ecb3bf79f3
commit ca2c7280eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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