Add constructor return type in integrations T-Z (#50899)

This commit is contained in:
Michael 2021-05-20 17:00:19 +02:00 committed by GitHub
parent c650deef98
commit 9eecd90afc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 77 additions and 63 deletions

View file

@ -183,7 +183,7 @@ class Shade(ZhaEntity, CoverEntity):
zha_device: ZhaDeviceType,
channels: list[ChannelType],
**kwargs,
):
) -> None:
"""Initialize the ZHA light."""
super().__init__(unique_id, zha_device, channels, **kwargs)
self._on_off_channel = self.cluster_channels[CHANNEL_ON_OFF]