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

Classes

class  EcoforestSensor
 
class  EcoforestSensorEntityDescription
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
list ALARM_TYPE = [a.value for a in Alarm] + ["none"]
 
list STATUS_TYPE = [s.value for s in State]
 

Detailed Description

Support for Ecoforest sensors.

Function Documentation

◆ async_setup_entry()

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

Definition at line 145 of file sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 31 of file sensor.py.

◆ ALARM_TYPE

list homeassistant.components.ecoforest.sensor.ALARM_TYPE = [a.value for a in Alarm] + ["none"]

Definition at line 34 of file sensor.py.

◆ STATUS_TYPE

list homeassistant.components.ecoforest.sensor.STATUS_TYPE = [s.value for s in State]

Definition at line 33 of file sensor.py.