zha: Update to bellows 0.5.0+zigpy (#12187)
This commit is contained in:
1 parent
98b47cecbd
commit
f58e5f442d
6 files changed
+17
-11
No files matched your search
@@ -61,7 +61,7 @@ class Light(zha.Entity, light.Light):
|
||||
self._xy_color = None
|
||||
self._brightness = None
|
||||
|
||||
import bellows.zigbee.zcl.clusters as zcl_clusters
|
||||
import zigpy.zcl.clusters as zcl_clusters
|
||||
if zcl_clusters.general.LevelControl.cluster_id in self._in_clusters:
|
||||
self._supported_features |= light.SUPPORT_BRIGHTNESS
|
||||
self._supported_features |= light.SUPPORT_TRANSITION
|
||||
|
||||
Reference in new issue
Block a user