Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.nederlandse_spoorwegen.sensor.NSDepartureSensor
 

Namespaces

 homeassistant.components.nederlandse_spoorwegen.sensor
 

Functions

None homeassistant.components.nederlandse_spoorwegen.sensor.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 
def homeassistant.components.nederlandse_spoorwegen.sensor.valid_stations (stations, given_stations)
 

Variables

 homeassistant.components.nederlandse_spoorwegen.sensor._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.nederlandse_spoorwegen.sensor.CONF_FROM = "from"
 
string homeassistant.components.nederlandse_spoorwegen.sensor.CONF_ROUTES = "routes"
 
string homeassistant.components.nederlandse_spoorwegen.sensor.CONF_TIME = "time"
 
string homeassistant.components.nederlandse_spoorwegen.sensor.CONF_TO = "to"
 
string homeassistant.components.nederlandse_spoorwegen.sensor.CONF_VIA = "via"
 
 homeassistant.components.nederlandse_spoorwegen.sensor.MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=120)
 
 homeassistant.components.nederlandse_spoorwegen.sensor.PLATFORM_SCHEMA
 
 homeassistant.components.nederlandse_spoorwegen.sensor.ROUTE_SCHEMA
 
 homeassistant.components.nederlandse_spoorwegen.sensor.ROUTES_SCHEMA = vol.All(cv.ensure_list, [ROUTE_SCHEMA])