Make ZHA entities non-polled by default (#19536)
This commit is contained in:
1 parent
2a2af80309
commit
01fc322488
6 files changed
+5
-41
No files matched your search
@@ -266,11 +266,3 @@ class Light(ZhaEntity, light.Light):
|
||||
xy_color = (round(result['current_x']/65535, 3),
|
||||
round(result['current_y']/65535, 3))
|
||||
self._hs_color = color_util.color_xy_to_hs(*xy_color)
|
||||
|
||||
@property
|
||||
def should_poll(self) -> bool:
|
||||
"""Return True if entity has to be polled for state.
|
||||
|
||||
False if entity pushes its state to HA.
|
||||
"""
|
||||
return False
|
||||
Reference in new issue
Block a user