We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e1cab6 commit 7392767Copy full SHA for 7392767
src/integrations/home_assistant/discovery.py
@@ -220,7 +220,7 @@ def __publish_ha_discovery_messages_real(self):
220
self.__publish_sensor(mqtt_topics.DRIVETRAIN_LAST_CHARGE_ENDING_POWER,
221
'Last Charge SoC kWh',
222
device_class='ENERGY_STORAGE',
223
- state_class='measurement',
+ state_class='total_increasing',
224
icon='mdi:battery-charging-70',
225
unit_of_measurement='kWh'
226
)
0 commit comments