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

This commit is contained in:
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

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