Closed MrBLJ closed 3 months ago
Hello @MrBLJ,
Where did you see that next_date_available
in the past ?
If it is in the switch state like this:
this is normal. This doesn't mean that it is stuck but only that it is not usable or enable ...:
is_enabled: false
is_active: false
is_waiting: false
is_usable: false
Hello @jmcollin78,
Thanks for your reply :). As an example, here's a screenshot I took a few days ago :
In this one, _next_date_availablepower is in the past (time on my phone and HA are synced, I tripled checked that). In this case, what I have to do is reboot HA and _next_date_availablepower will usually be t+5mins (time between power changes).
Note : this one is controlling the charge of my car, and there are lots of current issues with the Tesla integration. Maybe it could be linked to that I'm not sure.
Why do you think it is not normal ?
Between two power change there is delay (to avoid changing charging Amps too fast in case of a Tesla).
If the newt_date_available_power is in the past, itjust mean that the Amps can be change when possible. Which is certainly normal if the last power change occurs x min before now (x is the configurable parameter duration_power_min
My understanding was incorrect I apologize. _next_date_availablepower appeared to me as the next time at which there would be a power check (difference or ratio between production and consumption).
I guess my issue is related to something else : the charging amps of my vehicle are sometimes frozen (without any mention of an issue in the logs) and the optimizer is not adjusting the power.
Bad understanding on my end of what _next_date_availablepower is. My issue is related to something else.
No problem.
Version of the custom_component
v1.5.0
Configuration
Describe the bug
_next_dateavailable is sometimes stuck in the past , which gives negative values to the sensor. In that case, the optimization won't trigger and the addon appears to be frozen.
Rebooting HA fixes the issue.
No error appears in the logs.