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

Classes

class  ZWaveConfigParameterSensor
 
class  ZWaveControllerStatusSensor
 
class  ZWaveJSStatisticsSensorEntityDescription
 
class  ZWaveListSensor
 
class  ZWaveMeterSensor
 
class  ZWaveNodeStatusSensor
 
class  ZWaveNumericSensor
 
class  ZwaveSensor
 
class  ZWaveStatisticsSensor
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
Any convert_nested_attr (ControllerStatistics|NodeStatistics statistics, str key)
 
SensorEntityDescription get_entity_description (NumericSensorDataTemplateData data)
 

Variables

 device_class
 
 entity_category
 
list ENTITY_DESCRIPTION_CONTROLLER_STATISTICS_LIST
 
dictionary ENTITY_DESCRIPTION_KEY_MAP
 
list ENTITY_DESCRIPTION_NODE_STATISTICS_LIST
 
 entity_registry_enabled_default
 
 key
 
 name
 
 native_unit_of_measurement
 
int PARALLEL_UPDATES = 0
 
 state_class
 
 suggested_display_precision
 

Detailed Description

Representation of Z-Wave sensors.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.zwave_js.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Z-Wave sensor from config entry.

Definition at line 552 of file sensor.py.

◆ convert_nested_attr()

Any homeassistant.components.zwave_js.sensor.convert_nested_attr ( ControllerStatistics | NodeStatistics  statistics,
str   key 
)
Convert a string that represents a nested attr to a value.

Definition at line 332 of file sensor.py.

◆ get_entity_description()

SensorEntityDescription homeassistant.components.zwave_js.sensor.get_entity_description ( NumericSensorDataTemplateData  data)
Return the entity description for the given data.

Definition at line 535 of file sensor.py.

Variable Documentation

◆ device_class

homeassistant.components.zwave_js.sensor.device_class

Definition at line 104 of file sensor.py.

◆ entity_category

homeassistant.components.zwave_js.sensor.entity_category

Definition at line 105 of file sensor.py.

◆ ENTITY_DESCRIPTION_CONTROLLER_STATISTICS_LIST

list homeassistant.components.zwave_js.sensor.ENTITY_DESCRIPTION_CONTROLLER_STATISTICS_LIST

Definition at line 353 of file sensor.py.

◆ ENTITY_DESCRIPTION_KEY_MAP

dictionary homeassistant.components.zwave_js.sensor.ENTITY_DESCRIPTION_KEY_MAP

Definition at line 289 of file sensor.py.

◆ ENTITY_DESCRIPTION_NODE_STATISTICS_LIST

list homeassistant.components.zwave_js.sensor.ENTITY_DESCRIPTION_NODE_STATISTICS_LIST

Definition at line 471 of file sensor.py.

◆ entity_registry_enabled_default

homeassistant.components.zwave_js.sensor.entity_registry_enabled_default

Definition at line 207 of file sensor.py.

◆ key

homeassistant.components.zwave_js.sensor.key

Definition at line 103 of file sensor.py.

◆ name

homeassistant.components.zwave_js.sensor.name

Definition at line 247 of file sensor.py.

◆ native_unit_of_measurement

homeassistant.components.zwave_js.sensor.native_unit_of_measurement

Definition at line 107 of file sensor.py.

◆ PARALLEL_UPDATES

int homeassistant.components.zwave_js.sensor.PARALLEL_UPDATES = 0

Definition at line 95 of file sensor.py.

◆ state_class

homeassistant.components.zwave_js.sensor.state_class

Definition at line 106 of file sensor.py.

◆ suggested_display_precision

homeassistant.components.zwave_js.sensor.suggested_display_precision

Definition at line 120 of file sensor.py.