mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
Remove unnecessary property from hvv_departures (#77267)
This commit is contained in:
parent
e79f1de9e9
commit
d33f93d5ca
@ -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…
x
Reference in New Issue
Block a user