diff --git a/custom_components/ecoflow_cloud/devices/river2_max.py b/custom_components/ecoflow_cloud/devices/river2_max.py index dd890e5..a0eb66c 100644 --- a/custom_components/ecoflow_cloud/devices/river2_max.py +++ b/custom_components/ecoflow_cloud/devices/river2_max.py @@ -4,7 +4,8 @@ from ..number import ChargingPowerEntity, MaxBatteryLevelEntity, MinBatteryLevelEntity from ..select import DictSelectEntity, TimeoutDictSelectEntity from ..sensor import LevelSensorEntity, RemainSensorEntity, TempSensorEntity, \ - CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, VoltSensorEntity + CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, VoltSensorEntity, InAmpSensorEntity, \ + InVoltSensorEntity from ..switch import EnabledEntity @@ -19,6 +20,9 @@ def sensors(self, client: EcoflowMQTTClient) -> list[BaseSensorEntity]: InWattsSensorEntity(client, "pd.wattsInSum", const.TOTAL_IN_POWER), OutWattsSensorEntity(client, "pd.wattsOutSum", const.TOTAL_OUT_POWER), + InAmpSensorEntity(client, "inv.dcInAmp", const.SOLAR_IN_CURRENT), + InVoltSensorEntity(client, "inv.dcInVol", const.SOLAR_IN_VOLTAGE), + InWattsSensorEntity(client, "inv.inputWatts", const.AC_IN_POWER), InWattsSensorEntity(client, "pd.typecChaWatts", const.TYPE_C_IN_POWER), InWattsSensorEntity(client, "mppt.inWatts", const.SOLAR_IN_POWER),