Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.mvglive.sensor.MVGLiveData
 
class  homeassistant.components.mvglive.sensor.MVGLiveSensor
 

Namespaces

 homeassistant.components.mvglive.sensor
 

Functions

None homeassistant.components.mvglive.sensor.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.mvglive.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.mvglive.sensor.ATTRIBUTION = "Data provided by MVG-live.de"
 
string homeassistant.components.mvglive.sensor.CONF_DESTINATIONS = "destinations"
 
string homeassistant.components.mvglive.sensor.CONF_DIRECTIONS = "directions"
 
string homeassistant.components.mvglive.sensor.CONF_LINES = "lines"
 
string homeassistant.components.mvglive.sensor.CONF_NEXT_DEPARTURE = "nextdeparture"
 
string homeassistant.components.mvglive.sensor.CONF_NUMBER = "number"
 
string homeassistant.components.mvglive.sensor.CONF_PRODUCTS = "products"
 
string homeassistant.components.mvglive.sensor.CONF_STATION = "station"
 
string homeassistant.components.mvglive.sensor.CONF_TIMEOFFSET = "timeoffset"
 
list homeassistant.components.mvglive.sensor.DEFAULT_PRODUCT = ["U-Bahn", "Tram", "Bus", "ExpressBus", "S-Bahn", "Nachteule"]
 
dictionary homeassistant.components.mvglive.sensor.ICONS
 
 homeassistant.components.mvglive.sensor.PLATFORM_SCHEMA
 
 homeassistant.components.mvglive.sensor.SCAN_INTERVAL = timedelta(seconds=30)