diff --git a/homeassistant/components/nederlandse_spoorwegen/manifest.json b/homeassistant/components/nederlandse_spoorwegen/manifest.json index 10291802fed8e1..01372e744fbc70 100644 --- a/homeassistant/components/nederlandse_spoorwegen/manifest.json +++ b/homeassistant/components/nederlandse_spoorwegen/manifest.json @@ -2,6 +2,6 @@ "domain": "nederlandse_spoorwegen", "name": "Nederlandse Spoorwegen (NS)", "documentation": "https://www.home-assistant.io/integrations/nederlandse_spoorwegen", - "requirements": ["nsapi==3.0.3"], + "requirements": ["nsapi==3.0.4"], "codeowners": ["@YarmoM"] } diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 2db46b02db40d1..39c05ff7cbf148 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -148,7 +148,6 @@ def device_state_attributes(self): "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 @@ def device_state_attributes(self): ): 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: diff --git a/requirements_all.txt b/requirements_all.txt index cc6f15be0db587..b6826c16024fd8 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -943,7 +943,7 @@ niko-home-control==0.2.1 niluclient==0.1.2 # homeassistant.components.nederlandse_spoorwegen -nsapi==3.0.3 +nsapi==3.0.4 # homeassistant.components.nsw_fuel_station nsw-fuel-api-client==1.0.10