-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
Interesting--my power is quite reliable, so I haven't gotten the chance to experience this. What if you configure your
You can then remove the entire preferences section. Do you still see the same problematic behavior? |
Beta Was this translation helpful? Give feedback.
-
I know these types of sensors are only supposed to go up in value - so maybe if you're getting random negative values on some of those it could cause issues? maybe try using the positive only value filter on them just to be sure? |
Beta Was this translation helpful? Give feedback.
-
Oh and also the method: left should be set ideally for this type of sensor. I was having all sorts of issues like this upon restart with this when the method was anything but left in HA. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tips! I see that the restore defaults to true here: I'll do some testing (primarily to replicate the problem to confirm the reboots are causing the issue, so I can verify the final solution). Looking at home-assistant code the reset detection does not rely on 0, but looks for more than 10% drop: Looks like the total_daily_energy platform does not reset the value daily, therefore a 2 days setback will soon be smaller than 10% drop. After debugging, I've found this happens due my firewall filters out ntp traffic. I changed the time source to home-assistant. Still, I'll follow-up once I tried the recommendations and confirmed the solution. |
Beta Was this translation helpful? Give feedback.
Interesting--my power is quite reliable, so I haven't gotten the chance to experience this.
What if you configure your
total_daily_energy
sensors like this, the difference being that each one hasrestore: false
set?