Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.nsw_fuel_station Namespace Reference

Namespaces

 const
 
 sensor
 

Classes

class  StationPriceData
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
StationPriceData|None fetch_station_price_data (FuelCheckClient client)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.platform_only_config_schema(DOMAIN)
 
string DOMAIN = "nsw_fuel_station"
 
 SCAN_INTERVAL = datetime.timedelta(hours=1)
 

Detailed Description

The nsw_fuel_station component.

Function Documentation

◆ async_setup()

bool homeassistant.components.nsw_fuel_station.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the NSW Fuel Station platform.

Definition at line 26 of file __init__.py.

◆ fetch_station_price_data()

StationPriceData | None homeassistant.components.nsw_fuel_station.fetch_station_price_data ( FuelCheckClient  client)
Fetch fuel price and station data.

Definition at line 56 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.nsw_fuel_station._LOGGER = logging.getLogger(__name__)
private

Definition at line 18 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.nsw_fuel_station.CONFIG_SCHEMA = cv.platform_only_config_schema(DOMAIN)

Definition at line 23 of file __init__.py.

◆ DOMAIN

string homeassistant.components.nsw_fuel_station.DOMAIN = "nsw_fuel_station"

Definition at line 20 of file __init__.py.

◆ SCAN_INTERVAL

homeassistant.components.nsw_fuel_station.SCAN_INTERVAL = datetime.timedelta(hours=1)

Definition at line 21 of file __init__.py.