Remove occupancy as it is not available in API (#22320)

pull/22333/head
Thibault Maekelbergh 2019-03-23 20:05:08 +01:00 committed by Fabian Affolter
parent c68b621972
commit 16dbf9b2ea
1 changed files with 0 additions and 1 deletions

View File

@ -124,7 +124,6 @@ class NMBSLiveBoard(Entity):
attrs = {
'departure': "In {} minutes".format(departure),
'extra_train': int(self._attrs['isExtra']) > 0,
'occupancy': self._attrs['occupancy']['name'],
'vehicle_id': self._attrs['vehicle'],
'monitored_station': self._station,
ATTR_ATTRIBUTION: "https://api.irail.be/",