Skip to content

Commit 1b6da45

Browse files
authored
Update delta_pro_3.py
1 parent 4ebdfde commit 1b6da45

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

custom_components/ecoflow_cloud/devices/internal/delta_pro_3.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
InVoltSolarSensorEntity,
3030
InWattsSensorEntity,
3131
InRawWattsSolarSensorEntity,
32+
InRawVoltSolarSensorEntity,
33+
InRawAmpSolarSensorEntity,
3234
LevelSensorEntity,
3335
OutEnergySensorEntity,
3436
OutVoltDcSensorEntity,
@@ -108,10 +110,10 @@ def sensors(self, client: EcoflowApiClient) -> list[Any]:
108110
OutVoltDcSensorEntity(client, self, "pow_get_24v_vol", "24V DC Output Voltage"),
109111
InRawWattsSolarSensorEntity(client, self, "pow_get_pv_h", "Solar High Voltage Input Power"),
110112
InRawWattsSolarSensorEntity(client, self, "pow_get_pv_l", "Solar Low Voltage Input Power"),
111-
VoltSensorEntity(client, self, "plug_in_info_pv_h_vol", "Solar HV Input Voltage"),
112-
VoltSensorEntity(client, self, "plug_in_info_pv_l_vol", "Solar LV Input Voltage"),
113-
AmpSensorEntity(client, self, "plug_in_info_pv_h_amp", "Solar HV Input Current"),
114-
AmpSensorEntity(client, self, "plug_in_info_pv_l_amp", "Solar LV Input Current"),
113+
InRawVoltSolarSensorEntity(client, self, "plug_in_info_pv_h_vol", "Solar HV Input Voltage"),
114+
InRawVoltSolarSensorEntity(client, self, "plug_in_info_pv_l_vol", "Solar LV Input Voltage"),
115+
InRawAmpSolarSensorEntity(client, self, "plug_in_info_pv_h_amp", "Solar HV Input Current"),
116+
InRawAmpSolarSensorEntity(client, self, "plug_in_info_pv_l_amp", "Solar LV Input Current"),
115117
OutWattsSensorEntity(client, self, "pow_get_qcusb1", const.USB_QC_1_OUT_POWER),
116118
OutWattsSensorEntity(client, self, "pow_get_qcusb2", const.USB_QC_2_OUT_POWER),
117119
OutWattsSensorEntity(client, self, "pow_get_typec1", const.TYPEC_1_OUT_POWER),

0 commit comments

Comments
 (0)