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

Namespaces

 inverter
 
 phase
 
 sensor_entity_description
 
 string
 
 total
 

Classes

class  SunWEGInverter
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
tuple[list[Inverter], int] get_device_list (APIHelper api, MappingProxyType[str, Any] config)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Read status of SunWEG inverters.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.sunweg.sensor.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the SunWEG sensor.

Definition at line 49 of file __init__.py.

◆ get_device_list()

tuple[list[Inverter], int] homeassistant.components.sunweg.sensor.get_device_list ( APIHelper  api,
MappingProxyType[str, Any]   config 
)
Retrieve the device list for the selected plant.

Definition at line 31 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 28 of file __init__.py.