Remove unnecessary property from hvv_departures (#77267)

This commit is contained in:
epenet
2022-08-25 01:46:59 +02:00
committed by GitHub
parent e79f1de9e9
commit d33f93d5ca

View File

@@ -135,11 +135,6 @@ class HvvDepartureBinarySensor(CoordinatorEntity, BinarySensorEntity):
"""Return entity state.""" """Return entity state."""
return self.coordinator.data[self.idx]["state"] return self.coordinator.data[self.idx]["state"]
@property
def should_poll(self):
"""No need to poll. Coordinator notifies entity of updates."""
return False
@property @property
def available(self): def available(self):
"""Return if entity is available.""" """Return if entity is available."""