mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +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."""
|
"""Set up IKEA Idasen from a config entry."""
|
||||||
address: str = entry.data[CONF_ADDRESS].upper()
|
address: str = entry.data[CONF_ADDRESS].upper()
|
||||||
|
|
||||||
coordinator = IdasenDeskCoordinator(hass, _LOGGER, entry.title, address)
|
coordinator = IdasenDeskCoordinator(hass, entry.title, address)
|
||||||
entry.runtime_data = coordinator
|
entry.runtime_data = coordinator
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -19,13 +19,12 @@ class IdasenDeskCoordinator(DataUpdateCoordinator[int | None]):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
logger: logging.Logger,
|
|
||||||
name: str,
|
name: str,
|
||||||
address: str,
|
address: str,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Init IdasenDeskCoordinator."""
|
"""Init IdasenDeskCoordinator."""
|
||||||
|
|
||||||
super().__init__(hass, logger, name=name)
|
super().__init__(hass, _LOGGER, name=name)
|
||||||
self.address = address
|
self.address = address
|
||||||
self._expected_connected = False
|
self._expected_connected = False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user