Skip to content

Commit

Permalink
Merge pull request #374 from drthanwho/master
Browse files Browse the repository at this point in the history
Update energy sensor state_class to total_inceasing
  • Loading branch information
georgezhao2010 authored Dec 16, 2023
2 parents 5e35979 + 28e3d81 commit d36e24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/midea_ac_lan/midea_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@
"name": "Current Energy Consumption",
"device_class": SensorDeviceClass.ENERGY,
"unit": ENERGY_KILO_WATT_HOUR,
"state_class": SensorStateClass.MEASUREMENT
"state_class": SensorStateClass.TOTAL_INCREASING
},
ACAttributes.realtime_power: {
"type": Platform.SENSOR,
Expand Down

0 comments on commit d36e24a

Please sign in to comment.