mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Add PPV2 entity for Growatt storage inverter (#121052)
This commit is contained in:
parent
89ffee9ad5
commit
130dbcb3f1
@ -74,6 +74,14 @@ STORAGE_SENSOR_TYPES: tuple[GrowattSensorEntityDescription, ...] = (
|
|||||||
native_unit_of_measurement=UnitOfPower.WATT,
|
native_unit_of_measurement=UnitOfPower.WATT,
|
||||||
device_class=SensorDeviceClass.POWER,
|
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(
|
GrowattSensorEntityDescription(
|
||||||
key="storage_battery_percentage",
|
key="storage_battery_percentage",
|
||||||
translation_key="storage_battery_percentage",
|
translation_key="storage_battery_percentage",
|
||||||
|
@ -200,7 +200,10 @@
|
|||||||
"name": "Lifetime stored charged"
|
"name": "Lifetime stored charged"
|
||||||
},
|
},
|
||||||
"storage_solar_production": {
|
"storage_solar_production": {
|
||||||
"name": "Solar power production"
|
"name": "Solar power production 1"
|
||||||
|
},
|
||||||
|
"storage_solar_production_2": {
|
||||||
|
"name": "Solar power production 2"
|
||||||
},
|
},
|
||||||
"storage_battery_percentage": {
|
"storage_battery_percentage": {
|
||||||
"name": "Battery percentage"
|
"name": "Battery percentage"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user