The Class for handling the data retrieval.
Definition at line 163 of file sensor.py.
◆ __init__()
| def homeassistant.components.rejseplanen.sensor.PublicTransportData.__init__ |
( |
|
self, |
|
|
|
stop_id, |
|
|
|
route, |
|
|
|
direction, |
|
|
|
departure_type |
|
) |
| |
Initialize the data object.
Definition at line 166 of file sensor.py.
◆ update()
| def homeassistant.components.rejseplanen.sensor.PublicTransportData.update |
( |
|
self | ) |
|
Get the latest data from rejseplanen.
Definition at line 174 of file sensor.py.
◆ departure_type
| homeassistant.components.rejseplanen.sensor.PublicTransportData.departure_type |
◆ direction
| homeassistant.components.rejseplanen.sensor.PublicTransportData.direction |
◆ info
| homeassistant.components.rejseplanen.sensor.PublicTransportData.info |
◆ route
| homeassistant.components.rejseplanen.sensor.PublicTransportData.route |
◆ stop_id
| homeassistant.components.rejseplanen.sensor.PublicTransportData.stop_id |
The documentation for this class was generated from the following file:
- core/homeassistant/components/rejseplanen/sensor.py