Skip to content

Commit

Permalink
#30 - Adding TOTAL_INCREASING for total energy today sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
muppet3000 committed Apr 12, 2023
1 parent 70fdd78 commit afc42e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/growatt_server_api/sensor_types/total.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
api_key="todayEnergy",
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
device_class=SensorDeviceClass.ENERGY,
state_class=SensorStateClass.TOTAL_INCREASING,
),
GrowattSensorEntityDescription(
key="total_output_power",
Expand Down

0 comments on commit afc42e1

Please sign in to comment.