mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Fix idasen_desk generic typing (#102445)
This commit is contained in:
parent
09a8b8567d
commit
a8f0a66c27
@ -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__(
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user