Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.solaredge.sensor.SolarEdgeSensorFactory Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, str site_id, SolarEdge api)
 
SolarEdgeSensorEntity create_sensor (self, SolarEdgeSensorEntityDescription sensor_type)
 

Public Attributes

 all_services
 

Detailed Description

Factory which creates sensors based on the sensor_key.

Definition at line 222 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.solaredge.sensor.SolarEdgeSensorFactory.__init__ (   self,
HomeAssistant  hass,
str  site_id,
SolarEdge  api 
)
Initialize the factory.

Definition at line 225 of file sensor.py.

Member Function Documentation

◆ create_sensor()

SolarEdgeSensorEntity homeassistant.components.solaredge.sensor.SolarEdgeSensorFactory.create_sensor (   self,
SolarEdgeSensorEntityDescription   sensor_type 
)
Create and return a sensor based on the sensor_key.

Definition at line 271 of file sensor.py.

Member Data Documentation

◆ all_services

homeassistant.components.solaredge.sensor.SolarEdgeSensorFactory.all_services

Definition at line 234 of file sensor.py.


The documentation for this class was generated from the following file: