Skip to content

Commit

Permalink
Fixed the MQTT Payload for 'Total Energy', so it's recognized by the …
Browse files Browse the repository at this point in the history
…energy dashboard in Home Assistant.
  • Loading branch information
slespersen committed Dec 2, 2024
1 parent 93ce9d6 commit b70fee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evseMQTT/mqttpayloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def __init__(self, device):
"payload_available": "online",
"payload_not_available": "offline",
"unit_of_measurement": "kWh",
"state_class": "total",
"state_class": "total_increasing",
"value_template": "{{ value_json.current_amount }}",
"entity_category": "diagnostic"
},
Expand Down

0 comments on commit b70fee2

Please sign in to comment.