mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 19:57:07 +00:00
Add new is_reatime attribute for De Lijn (#36369)
This commit is contained in:
parent
eb95c5cd2e
commit
3b606504a8
@ -94,6 +94,7 @@ class DeLijnPublicTransportSensor(Entity):
|
||||
self._attributes["final_destination"] = first["final_destination"]
|
||||
self._attributes["due_at_schedule"] = first["due_at_schedule"]
|
||||
self._attributes["due_at_realtime"] = first["due_at_realtime"]
|
||||
self._attributes["is_realtime"] = first["is_realtime"]
|
||||
self._attributes["next_passages"] = self.line.passages
|
||||
self._available = True
|
||||
except (KeyError, IndexError):
|
||||
|
Loading…
x
Reference in New Issue
Block a user