Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.metoffice.sensor Namespace Reference

Classes

class  MetOfficeCurrentSensor
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

string ATTR_LAST_UPDATE = "last_update"
 
string ATTR_SENSOR_ID = "sensor_id"
 
string ATTR_SITE_ID = "site_id"
 
string ATTR_SITE_NAME = "site_name"
 

Detailed Description

Support for UK Met Office weather service.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.metoffice.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the Met Office weather sensor platform.

Definition at line 144 of file sensor.py.

Variable Documentation

◆ ATTR_LAST_UPDATE

string homeassistant.components.metoffice.sensor.ATTR_LAST_UPDATE = "last_update"

Definition at line 45 of file sensor.py.

◆ ATTR_SENSOR_ID

string homeassistant.components.metoffice.sensor.ATTR_SENSOR_ID = "sensor_id"

Definition at line 46 of file sensor.py.

◆ ATTR_SITE_ID

string homeassistant.components.metoffice.sensor.ATTR_SITE_ID = "site_id"

Definition at line 47 of file sensor.py.

◆ ATTR_SITE_NAME

string homeassistant.components.metoffice.sensor.ATTR_SITE_NAME = "site_name"

Definition at line 48 of file sensor.py.