Remove occupancy as it is not available in API (#22320)
parent
c68b621972
commit
16dbf9b2ea
|
@ -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/",
|
||||
|
|
Loading…
Reference in New Issue