Removed defunct punctuality from nederlandse_spoorwegen (#34680)
parent
a217630fdd
commit
ed7cacbf92
|
@ -148,7 +148,6 @@ class NSDepartureSensor(Entity):
|
|||
"arrival_platform_planned": self._trips[0].arrival_platform_planned,
|
||||
"arrival_platform_actual": self._trips[0].arrival_platform_actual,
|
||||
"next": None,
|
||||
"punctuality": None,
|
||||
"status": self._trips[0].status.lower(),
|
||||
"transfers": self._trips[0].nr_transfers,
|
||||
"route": route,
|
||||
|
@ -197,10 +196,6 @@ class NSDepartureSensor(Entity):
|
|||
):
|
||||
attributes["arrival_delay"] = True
|
||||
|
||||
# Punctuality attributes
|
||||
if self._trips[0].punctuality is not None:
|
||||
attributes["punctuality"] = self._trips[0].punctuality
|
||||
|
||||
# Next attributes
|
||||
if len(self._trips) > 1:
|
||||
if self._trips[1].departure_time_actual is not None:
|
||||
|
|
Loading…
Reference in New Issue