Add new is_reatime attribute for De Lijn (#36369)
This commit is contained in:
1 parent
eb95c5cd2e
commit
3b606504a8
1 file changed
+1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user