Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.rejseplanen.sensor.PublicTransportData Class Reference

Public Member Functions

def __init__ (self, stop_id, route, direction, departure_type)
 
def update (self)
 

Public Attributes

 departure_type
 
 direction
 
 info
 
 route
 
 stop_id
 

Detailed Description

The Class for handling the data retrieval.

Definition at line 163 of file sensor.py.

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ update()

def homeassistant.components.rejseplanen.sensor.PublicTransportData.update (   self)
Get the latest data from rejseplanen.

Definition at line 174 of file sensor.py.

Member Data Documentation

◆ departure_type

homeassistant.components.rejseplanen.sensor.PublicTransportData.departure_type

Definition at line 171 of file sensor.py.

◆ direction

homeassistant.components.rejseplanen.sensor.PublicTransportData.direction

Definition at line 170 of file sensor.py.

◆ info

homeassistant.components.rejseplanen.sensor.PublicTransportData.info

Definition at line 172 of file sensor.py.

◆ route

homeassistant.components.rejseplanen.sensor.PublicTransportData.route

Definition at line 169 of file sensor.py.

◆ stop_id

homeassistant.components.rejseplanen.sensor.PublicTransportData.stop_id

Definition at line 168 of file sensor.py.


The documentation for this class was generated from the following file: