Fix idasen_desk generic typing (#102445)

This commit is contained in:
Marc Mueller 2023-10-21 13:15:43 +02:00 committed by GitHub
parent 09a8b8567d
commit a8f0a66c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ PLATFORMS: list[Platform] = [Platform.COVER]
_LOGGER = logging.getLogger(__name__)
class IdasenDeskCoordinator(DataUpdateCoordinator):
class IdasenDeskCoordinator(DataUpdateCoordinator[int | None]):
"""Class to manage updates for the Idasen Desk."""
def __init__(

View File

@ -32,7 +32,7 @@ async def async_setup_entry(
)
class IdasenDeskCover(CoordinatorEntity, CoverEntity):
class IdasenDeskCover(CoordinatorEntity[IdasenDeskCoordinator], CoverEntity):
"""Representation of Idasen Desk device."""
_attr_device_class = CoverDeviceClass.DAMPER