mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Remove unnecessary property from hvv_departures (#77267)
This commit is contained in:
@@ -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."""
|
||||||
|
Reference in New Issue
Block a user