I have a strange problem with my total reading.
After a restart of home assistant there is a one time that the value is increased with the total amount of the readed sensor, and not the different from the last state.
where do i have to look for the problem.
I’m curently running version 2022 8.0
The total sensor is from a grott server (mqtt sensor value) this is becaus i’m not happy with the update time of the original growatt app and intergration, it is very often offline and then there are no readings. so i wen’t for the local setup with the above grott configuration.
below one could see what happens with the values after a restart.
and the values from adjust statistics
And this is my total sensor
- platform: mqtt
state_topic: energy/growatt
value_template: "{{ value_json['values']['pvenergytotal'] | int / 10 }}"
unique_id: growatt_generated_energy_total
device_class: energy
unit_of_measurement: "kWh"
name: Growatt - Opgewekte energie (Totaal)
icon: mdi:solar-power
state_class: total_increasing
when changing the high value to 0 it all seems fine again.
where or how can i solve this problem