Add ZHA roller shadows as cover instead of switch (#36059)
* Implement cover for "Shade" ZHA device type. * Update ZHA cover tests. * Add stop command * Coverage.
This commit is contained in:
parent
eaa16fa818
commit
f4c5b9f8f8
6 changed files with 335 additions and 12 deletions
|
@ -28,7 +28,7 @@ from .core.const import (
|
|||
SIGNAL_REMOVE_GROUP,
|
||||
)
|
||||
from .core.helpers import LogMixin
|
||||
from .core.typing import CALLABLE_T, ChannelsType, ChannelType, ZhaDeviceType
|
||||
from .core.typing import CALLABLE_T, ChannelType, ZhaDeviceType
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -150,7 +150,7 @@ class ZhaEntity(BaseZhaEntity, RestoreEntity):
|
|||
self,
|
||||
unique_id: str,
|
||||
zha_device: ZhaDeviceType,
|
||||
channels: ChannelsType,
|
||||
channels: List[ChannelType],
|
||||
**kwargs,
|
||||
):
|
||||
"""Init ZHA entity."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue