Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor Class Reference
Inheritance diagram for homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor:
[legend]
Collaboration diagram for homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor:
[legend]

Public Member Functions

None __init__ (self, DataUpdateCoordinator[CurrentPhenomenons] coordinator, MeteoFranceSensorEntityDescription description)
 
def extra_state_attributes (self)
 
str|None native_value (self)
 

Private Attributes

 _attr_name
 
 _attr_unique_id
 

Detailed Description

Representation of a Meteo-France alert sensor.

Definition at line 312 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor.__init__ (   self,
DataUpdateCoordinator[CurrentPhenomenons]  coordinator,
MeteoFranceSensorEntityDescription  description 
)
Initialize the Meteo-France sensor.

Definition at line 315 of file sensor.py.

Member Function Documentation

◆ extra_state_attributes()

def homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor.extra_state_attributes (   self)
Return the state attributes.

Definition at line 334 of file sensor.py.

◆ native_value()

str | None homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor.native_value (   self)
Return the state.

Definition at line 327 of file sensor.py.

Member Data Documentation

◆ _attr_name

homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor._attr_name
private

Definition at line 323 of file sensor.py.

◆ _attr_unique_id

homeassistant.components.meteo_france.sensor.MeteoFranceAlertSensor._attr_unique_id
private

Definition at line 324 of file sensor.py.


The documentation for this class was generated from the following file: