Closed hmmbob closed 3 months ago
I think I have the same issue. When HA is making a backup in de night, after the backup the Charing start from my Tesla. The same is happening on a restart.
This is the Tesla Swith to start charging. It’s says: “ enabled triggered by service Switch: Disable”
Is this something new with Version 1.11.2? Or have you observed this before?
I noticed it since I’m back from vacation. So it could be 1.11.2 or HA 2024.8.
Is this something new with Version 1.11.2? Or have you observed this before?
I'm not sure. I can only go back to august 1st in history, and I'm observing this behavior since maybe August 7, but definitely August 8.
According to the file timestamps of the component, I've upgraded to 1.11.2 on August 4 12:59. I've been beta testing HA 2024.8 betas since the same day.
The integration is to some extent state-less, reacting to changes in various inputs. During initiation, different inputs becomes available in a certain order. I can imagine that the integration output might toggle on and off due to this. Maybe this didn't happen before, but happens now due to updates in HA. Or it also sometimes happened before as well.
Anyhow, I should add some kind of initiation phase to the integration to prevent these kind of issues.
This should now have been fixed by #315 which is included in pre-release v1.12.0-dev3. Will you be able to check if this solves the issue?
Note that this pre-release contains several backward-incompatible changes. Please read the release notes!
I've just updated to dev3
and the subsequent reboot did not trigger the issue anymore. Great!
I was in dev2
already, so no new backward-incompatible changes for me 😄
Version of the custom_component
Version 1.11.2
Configuration
I'm using latest version of the component, and the following automation to trigger the charger to go charge or stop charging:
Describe the bug
On every restart of Home Assistant,
sensor.ev_smart_charging_charging
quickly switches fromoff
toon
tooff
again. This happens so quickly that the automation still runs to activate the charging and thus unintended charging takes place.("uitgezet" means `off', "aangezet" means 'on')
Ideally, the sensor just remains in
off
state.Debug log