Remove unnecessary should poll from binary sensor classes (#41221)
This commit is contained in:
1 parent
dd26ab6b4e
commit
e75557c1f5
2 files changed
-10
No files matched your search
@@ -38,11 +38,6 @@ class MaxCubeShutter(BinarySensorEntity):
|
||||
self._cubehandle = handler
|
||||
self._state = None
|
||||
|
||||
@property
|
||||
def should_poll(self):
|
||||
"""Return the polling state."""
|
||||
return True
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
"""Return the name of the BinarySensorEntity."""
|
||||
|
||||
Reference in new issue
Block a user