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
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user