MQTT Energy info wrong on dashboard
Posted: Thursday 14 November 2024 14:35
I'm receiving MQTT HA autodiscovery daily energy consumption data from device.
In "devices" tab all the readings are correct, but on dashboard it shows random numbers.
Data is updated daily at midnight.
Published data:
Version: 2024.7
Build Hash: b317cfab1
Compile Date: 2024-07-13 17:59:31
default plugin:

Correct info:

Dashboard:

Original Git:
https://github.com/rbroker/ecodan-ha-local
In "devices" tab all the readings are correct, but on dashboard it shows random numbers.
Data is updated daily at midnight.
Published data:
Code: Select all
case SensorType::POWER:
payloadJson[F("unit_of_meas")] = F("kWh");
payloadJson[F("icon")] = F("mdi:lightning-bolt");
payloadJson[F("stat_cla")] = F("total");
payloadJson[F("dev_cla")] = F("energy");
Build Hash: b317cfab1
Compile Date: 2024-07-13 17:59:31
default plugin:

Correct info:

Dashboard:

Original Git:
https://github.com/rbroker/ecodan-ha-local