Add PPV2 entity for Growatt storage inverter (#121052)

This commit is contained in:
Cris-ET 2024-07-05 21:20:56 +02:00 committed by GitHub
parent 89ffee9ad5
commit 130dbcb3f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -74,6 +74,14 @@ STORAGE_SENSOR_TYPES: tuple[GrowattSensorEntityDescription, ...] = (
native_unit_of_measurement=UnitOfPower.WATT,
device_class=SensorDeviceClass.POWER,
),
GrowattSensorEntityDescription(
key="storage_solar_production_2",
translation_key="storage_solar_production_2",
api_key="ppv2",
native_unit_of_measurement=UnitOfPower.WATT,
device_class=SensorDeviceClass.POWER,
state_class=SensorStateClass.MEASUREMENT,
),
GrowattSensorEntityDescription(
key="storage_battery_percentage",
translation_key="storage_battery_percentage",

View file

@ -200,7 +200,10 @@
"name": "Lifetime stored charged"
},
"storage_solar_production": {
"name": "Solar power production"
"name": "Solar power production 1"
},
"storage_solar_production_2": {
"name": "Solar power production 2"
},
"storage_battery_percentage": {
"name": "Battery percentage"