Skip to content

Commit

Permalink
Fix itronheat
Browse files Browse the repository at this point in the history
Originally copied from my custom microclima configuration. Found out later that two fields were renamed. Fixed it here to get the actual state of total_m3 and total_kwh
  • Loading branch information
philipdzierzon authored Nov 4, 2024
1 parent 31a7e57 commit 6a65619
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wmbusmeters-ha-addon-edge/mqtt_discovery/itronheat.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"total_energy_consumption_kwh": {
"total_kwh": {
"component": "sensor",
"discovery_payload": {
"device": {
Expand All @@ -23,7 +23,7 @@
"icon": "mdi:gauge"
}
},
"total_volume_m3": {
"total_m3": {
"component": "sensor",
"discovery_payload": {
"device": {
Expand All @@ -37,7 +37,7 @@
},
"enabled_by_default": true,
"json_attributes_topic": "wmbusmeters/{name}",
"device_class": "water",
"device_class": "volume",
"state_class": "total",
"name": "total",
"state_topic": "wmbusmeters/{name}",
Expand Down

0 comments on commit 6a65619

Please sign in to comment.