Loadpoint: disable welcome chargeing for integrated devices (#21201)

This commit is contained in:
andig 2025-05-13 12:41:14 +02:00 • committed by GitHub
parent a5b23ea776
commit 6cfc6f0bd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1086,7 +1086,7 @@ func (lp *Loadpoint) updateChargerStatus() (bool, error) {
// Enable charging on connect if any available vehicle requires it.
// We're using the PV timer to disable after the welcome
if !welcomeCharge {
if !welcomeCharge && !lp.chargerHasFeature(api.IntegratedDevice) {
for _, v := range lp.availableVehicles() {
if slices.Contains(v.Features(), api.WelcomeCharge) {
welcomeCharge = true