Classes | |
| class | StationPriceSensor |
Functions | |
| None | setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | ATTR_STATION_ID = "station_id" |
| string | ATTR_STATION_NAME = "station_name" |
| list | CONF_ALLOWED_FUEL_TYPES |
| list | CONF_DEFAULT_FUEL_TYPES = ["E10", "U91"] |
| string | CONF_FUEL_TYPES = "fuel_types" |
| string | CONF_STATION_ID = "station_id" |
| PLATFORM_SCHEMA | |
Sensor platform to display the current fuel prices at a NSW fuel station.
| None homeassistant.components.nsw_fuel_station.sensor.setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
|
private |
| string homeassistant.components.nsw_fuel_station.sensor.ATTR_STATION_ID = "station_id" |
| string homeassistant.components.nsw_fuel_station.sensor.ATTR_STATION_NAME = "station_name" |
| list homeassistant.components.nsw_fuel_station.sensor.CONF_ALLOWED_FUEL_TYPES |
| list homeassistant.components.nsw_fuel_station.sensor.CONF_DEFAULT_FUEL_TYPES = ["E10", "U91"] |
| string homeassistant.components.nsw_fuel_station.sensor.CONF_FUEL_TYPES = "fuel_types" |
| string homeassistant.components.nsw_fuel_station.sensor.CONF_STATION_ID = "station_id" |
| homeassistant.components.nsw_fuel_station.sensor.PLATFORM_SCHEMA |