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

Classes

class  NetatmoClimateBatterySensor
 
class  NetatmoPublicSensor
 
class  NetatmoPublicWeatherSensorEntityDescription
 
class  NetatmoRoomSensor
 
class  NetatmoSensor
 
class  NetatmoSensorEntityDescription
 
class  NetatmoWeatherSensor
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 
str|None process_health (StateType health)
 
str|None process_rf (StateType strength)
 
str|None process_wifi (StateType strength)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 BATTERY_SENSOR_DESCRIPTION
 
list DIRECTION_OPTIONS
 
list SENSOR_TYPES_KEYS = [desc.key for desc in SENSOR_TYPES]
 

Detailed Description

Support for the Netatmo sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.netatmo.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback   async_add_entities 
)
Set up the Netatmo sensor platform.

Definition at line 387 of file sensor.py.

◆ process_health()

str | None homeassistant.components.netatmo.sensor.process_health ( StateType  health)
Process health index and return string for display.

Definition at line 79 of file sensor.py.

◆ process_rf()

str | None homeassistant.components.netatmo.sensor.process_rf ( StateType  strength)
Process wifi signal strength and return string for display.

Definition at line 91 of file sensor.py.

◆ process_wifi()

str | None homeassistant.components.netatmo.sensor.process_wifi ( StateType  strength)
Process wifi signal strength and return string for display.

Definition at line 104 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.netatmo.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 65 of file sensor.py.

◆ BATTERY_SENSOR_DESCRIPTION

homeassistant.components.netatmo.sensor.BATTERY_SENSOR_DESCRIPTION
Initial value:
1 = NetatmoSensorEntityDescription(
2  key="battery",
3  netatmo_name="battery",
4  entity_category=EntityCategory.DIAGNOSTIC,
5  native_unit_of_measurement=PERCENTAGE,
6  state_class=SensorStateClass.MEASUREMENT,
7  device_class=SensorDeviceClass.BATTERY,
8 )

Definition at line 377 of file sensor.py.

◆ DIRECTION_OPTIONS

list homeassistant.components.netatmo.sensor.DIRECTION_OPTIONS
Initial value:
1 = [
2  "n",
3  "ne",
4  "e",
5  "se",
6  "s",
7  "sw",
8  "w",
9  "nw",
10 ]

Definition at line 67 of file sensor.py.

◆ SENSOR_TYPES_KEYS

list homeassistant.components.netatmo.sensor.SENSOR_TYPES_KEYS = [desc.key for desc in SENSOR_TYPES]

Definition at line 283 of file sensor.py.