From 3b606504a88b4a53becc8ae80563cc27896ec4d6 Mon Sep 17 00:00:00 2001 From: Emilv2 Date: Wed, 3 Jun 2020 17:52:20 +0200 Subject: [PATCH] Add new is_reatime attribute for De Lijn (#36369) --- homeassistant/components/delijn/sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/delijn/sensor.py b/homeassistant/components/delijn/sensor.py index 7673e473e43..8c73fecf26e 100644 --- a/homeassistant/components/delijn/sensor.py +++ b/homeassistant/components/delijn/sensor.py @@ -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):