From 0dc6c1d03a7c7ced3a76daeb92bf8cb369c1f186 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Mon, 6 Nov 2023 21:43:02 +0100 Subject: [PATCH] Fix entry data typing in bsblan (#103544) --- homeassistant/components/bsblan/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/bsblan/__init__.py b/homeassistant/components/bsblan/__init__.py index 224cb479dda8d..def2cfaf56ada 100644 --- a/homeassistant/components/bsblan/__init__.py +++ b/homeassistant/components/bsblan/__init__.py @@ -1,7 +1,7 @@ """The BSB-Lan integration.""" import dataclasses -from bsblan import BSBLAN, Device, Info, State, StaticState +from bsblan import BSBLAN, Device, Info, StaticState from homeassistant.config_entries import ConfigEntry from homeassistant.const import ( @@ -13,7 +13,6 @@ ) from homeassistant.core import HomeAssistant from homeassistant.helpers.aiohttp_client import async_get_clientsession -from homeassistant.helpers.update_coordinator import DataUpdateCoordinator from .const import CONF_PASSKEY, DOMAIN from .coordinator import BSBLanUpdateCoordinator @@ -25,7 +24,7 @@ class HomeAssistantBSBLANData: """BSBLan data stored in the Home Assistant data object.""" - coordinator: DataUpdateCoordinator[State] + coordinator: BSBLanUpdateCoordinator client: BSBLAN device: Device info: Info