remove occupancy, as it is not available at this level in the iRail api (#21810)

This commit is contained in:
Toon Willems 2019-03-08 22:19:48 +01:00 committed by Fabian Affolter
parent 7226e917ed
commit a0e8543aed

View file

@ -194,7 +194,6 @@ class NMBSSensor(Entity):
'departure': "In {} minutes".format(departure),
'destination': self._station_to,
'direction': self._attrs['departure']['direction']['name'],
'occupancy': self._attrs['departure']['occupancy']['name'],
"platform_arriving": self._attrs['arrival']['platform'],
"platform_departing": self._attrs['departure']['platform'],
"vehicle_id": self._attrs['departure']['vehicle'],