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

Classes

class  EcowittSensorEntity
 

Functions

None _new_sensor (EcoWittSensor sensor)
 
None async_setup_entry (HomeAssistant hass, EcowittConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 device_class
 
 ecowitt = entry.runtime_data
 
 entity_category
 
 entity_registry_enabled_default
 
 Final
 
 key
 
 native_unit_of_measurement
 
 state_class
 

Detailed Description

Support for Ecowitt Weather Stations.

Function Documentation

◆ _new_sensor()

None homeassistant.components.ecowitt.sensor._new_sensor ( EcoWittSensor  sensor)
private
Add new sensor.

Definition at line 226 of file sensor.py.

◆ async_setup_entry()

None homeassistant.components.ecowitt.sensor.async_setup_entry ( HomeAssistant  hass,
EcowittConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)

Definition at line 218 of file sensor.py.

Variable Documentation

◆ device_class

homeassistant.components.ecowitt.sensor.device_class

Definition at line 63 of file sensor.py.

◆ ecowitt

homeassistant.components.ecowitt.sensor.ecowitt = entry.runtime_data
Add sensors if new.

Definition at line 224 of file sensor.py.

◆ entity_category

homeassistant.components.ecowitt.sensor.entity_category

Definition at line 98 of file sensor.py.

◆ entity_registry_enabled_default

homeassistant.components.ecowitt.sensor.entity_registry_enabled_default

Definition at line 182 of file sensor.py.

◆ Final

homeassistant.components.ecowitt.sensor.Final

Definition at line 42 of file sensor.py.

◆ key

homeassistant.components.ecowitt.sensor.key

Definition at line 62 of file sensor.py.

◆ native_unit_of_measurement

homeassistant.components.ecowitt.sensor.native_unit_of_measurement

Definition at line 64 of file sensor.py.

◆ state_class

homeassistant.components.ecowitt.sensor.state_class

Definition at line 65 of file sensor.py.