Remove uneeded typing on Idasen Desk (#102615)

This commit is contained in:
Abílio Costa 2023-10-23 22:57:58 +01:00 committed by GitHub
parent 5245c94342
commit 2935d7d919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,10 +91,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""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 = IdasenDeskCoordinator( coordinator = IdasenDeskCoordinator(hass, _LOGGER, entry.title, address)
hass, _LOGGER, entry.title, address
)
device_info = DeviceInfo( device_info = DeviceInfo(
name=entry.title, name=entry.title,
connections={(dr.CONNECTION_BLUETOOTH, address)}, connections={(dr.CONNECTION_BLUETOOTH, address)},