Wrong value in Home assistant

In this graph you see a dip:
Time of the dip 19:23:04

But in the log of Zwavejs2mqtt I don’t see this

 2022-02-05T19:21:04.486Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.776 => 1289.779         [Endpoint 0]
	Line 184479: 2022-02-05T19:21:04.486Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.776 => 1289.779         [Endpoint 0]
	Line 184486:                                       value:       1289.779
	Line 184488:                                       prev. value: 1289.776
	Line 184490: 2022-02-05T19:21:04.505Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.779 => 1289.779         [Endpoint 0]
	Line 184490: 2022-02-05T19:21:04.505Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.779 => 1289.779         [Endpoint 0]
	Line 184497:                                       value:       1289.779
	Line 184499:                                       prev. value: 1289.776
	Line 184766: 2022-02-05T19:22:04.305Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.779 => 1289.781         [Endpoint 0]
	Line 184766: 2022-02-05T19:22:04.305Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.779 => 1289.781         [Endpoint 0]
	Line 184773:                                       value:       1289.781
	Line 184775:                                       prev. value: 1289.779
	Line 184777: 2022-02-05T19:22:04.478Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.781 => 1289.781         [Endpoint 0]
	Line 184777: 2022-02-05T19:22:04.478Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.781 => 1289.781         [Endpoint 0]
	Line 184784:                                       value:       1289.781
	Line 184786:                                       prev. value: 1289.779
	Line 185114: 2022-02-05T19:23:04.304Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.781 => 1289.785         [Endpoint 0]
	Line 185114: 2022-02-05T19:23:04.304Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.781 => 1289.785         [Endpoint 0]
	Line 185121:                                       value:       1289.785
	Line 185123:                                       prev. value: 1289.781
	Line 185377: 2022-02-05T19:24:04.305Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.785 => 1289.788         [Endpoint 0]
	Line 185377: 2022-02-05T19:24:04.305Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.785 => 1289.788         [Endpoint 0]
	Line 185384:                                       value:       1289.788
	Line 185386:                                       prev. value: 1289.785
	Line 185673: 2022-02-05T19:25:04.305Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.788 => 1289.79          [Endpoint 0]
	Line 185673: 2022-02-05T19:25:04.305Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1289.788 => 1289.79          [Endpoint 0]
	Line 185680:                                       value:       1289.79
	Line 185682:     

As result my Energy dashboard is wrong it see a way too high usage of my TV
Is this a Home assistant problem or Zwavejs2mqtt

Did you restart? If yes, it’s related to your configuration for the MQTT topic for sensor.tv_electric_consumption_kwh. Namely, your template for the value_template is probably inducing this behavior by using |float without checking the value or something similar.

I didn’t restart was not at home on Saturday night.
Is there a way to prevent this?

probably, but we’d need to see the config.

Oke what do you need. I’m new in Home assistant. Just try it to replace Domoticz

The sum jump twice today
No restart at that time

Need to see the config for that entity. If there is none, then your sensor is falsely reporting 0 randomly.

Sorry it’s zwave doing this it some times sending the wrong value’s

	Line 117270: 2022-02-12T13:20:07.057Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1298.732 => 1298.736         [Endpoint 0]
	Line 117575: 2022-02-12T13:21:06.780Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1298.736 => 1298.739         [Endpoint 0]
	Line 117748: 2022-02-12T13:22:03.671Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1298.739 => 119.93           [Endpoint 0]
	Line 117833: 2022-02-12T13:22:06.834Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 119.93 => 1298.742           [Endpoint 0]
	Line 118162: 2022-02-12T13:23:06.783Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1298.742 => 1298.746         [Endpoint 0]
	Line 118603: 2022-02-12T13:24:06.700Z CNTRLR   [Node 015] [~] [Meter] value[65537]: 1298.746 => 1298.75  

Not much you can do if the sensor is reporting it. Maybe look into firmware updates or issues with the sensor outside ha

That’s what I’m going to do.
Thanks for your time. This topic can be closed