Remove unnecessary property from hvv_departures (#77267)
parent
e79f1de9e9
commit
d33f93d5ca
homeassistant/components/hvv_departures
|
@ -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."""
|
||||||
|
|
Loading…
Reference in New Issue