Make ZHA entities non-polled by default (#19536)

This commit is contained in:
Alexei Chetroi authored and Martin Hjelmare committed 2018-12-23 11:11:24 +01:00
1 parent 2a2af80309
commit 01fc322488
6 files changed
+5 -41

No files matched your search

-8
View File
@@ -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