mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 06:20:07 +00:00
Remove unnecessary should poll from binary sensor classes (#41221)
This commit is contained in:
@@ -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