Remove unnecessary should poll from binary sensor classes (#41221)

pull/41249/head
springstan 2020-10-04 22:11:46 +02:00 committed by GitHub
parent dd26ab6b4e
commit e75557c1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View File

@ -115,11 +115,6 @@ class Concord232ZoneSensor(BinarySensorEntity):
"""Return the class of this sensor, from DEVICE_CLASSES."""
return self._zone_type
@property
def should_poll(self):
"""No polling needed."""
return True
@property
def name(self):
"""Return the name of the binary sensor."""

View File

@ -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."""