From e75557c1f54c29b8b2b44373773fce217434bab1 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Sun, 4 Oct 2020 22:11:46 +0200 Subject: [PATCH] Remove unnecessary should poll from binary sensor classes (#41221) --- homeassistant/components/concord232/binary_sensor.py | 5 ----- homeassistant/components/maxcube/binary_sensor.py | 5 ----- 2 files changed, 10 deletions(-) diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index 1288b9472ed..7fd1d9748b3 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -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.""" diff --git a/homeassistant/components/maxcube/binary_sensor.py b/homeassistant/components/maxcube/binary_sensor.py index 1897f3b7465..312f55ce0d8 100644 --- a/homeassistant/components/maxcube/binary_sensor.py +++ b/homeassistant/components/maxcube/binary_sensor.py @@ -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."""