Add PPV2 entity for Growatt storage inverter (#121052)
This commit is contained in:
parent
89ffee9ad5
commit
130dbcb3f1
2 changed files with 12 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue