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

-5
View File
@@ -117,11 +117,6 @@ class Sensor(ZhaEntity):
"""Return Sensor's cluster."""
return self._cluster
@property
def should_poll(self) -> bool:
"""State gets pushed from device."""
return False
@property
def state(self) -> str:
"""Return the state of the entity."""