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

Classes

class  DeconzBatteryTracker
 
class  DeconzSensor
 
class  DeconzSensorDescription
 

Functions

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

Variables

string ATTR_CURRENT = "current"
 
string ATTR_DAYLIGHT = "daylight"
 
string ATTR_EVENT_ID = "event_id"
 
string ATTR_POWER = "power"
 
tuple PROVIDES_EXTRA_ATTRIBUTES
 
 T
 

Detailed Description

Support for deCONZ sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.deconz.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the deCONZ sensors.

Definition at line 332 of file sensor.py.

Variable Documentation

◆ ATTR_CURRENT

string homeassistant.components.deconz.sensor.ATTR_CURRENT = "current"

Definition at line 74 of file sensor.py.

◆ ATTR_DAYLIGHT

string homeassistant.components.deconz.sensor.ATTR_DAYLIGHT = "daylight"

Definition at line 76 of file sensor.py.

◆ ATTR_EVENT_ID

string homeassistant.components.deconz.sensor.ATTR_EVENT_ID = "event_id"

Definition at line 77 of file sensor.py.

◆ ATTR_POWER

string homeassistant.components.deconz.sensor.ATTR_POWER = "power"

Definition at line 75 of file sensor.py.

◆ PROVIDES_EXTRA_ATTRIBUTES

tuple homeassistant.components.deconz.sensor.PROVIDES_EXTRA_ATTRIBUTES
Initial value:
1 = (
2  "battery",
3  "consumption",
4  "daylight_status",
5  "humidity",
6  "light_level",
7  "power",
8  "pressure",
9  "status",
10  "temperature",
11 )

Definition at line 62 of file sensor.py.

◆ T

homeassistant.components.deconz.sensor.T
Initial value:
1 = TypeVar(
2  "T",
3  AirPurifier,
4  AirQuality,
5  CarbonDioxide,
6  Consumption,
7  Daylight,
8  Formaldehyde,
9  GenericStatus,
10  Humidity,
11  LightLevel,
12  Moisture,
13  ParticulateMatter,
14  Power,
15  Pressure,
16  Temperature,
17  Time,
18  PydeconzSensorBase,
19 )

Definition at line 80 of file sensor.py.