Show soc functions for guest or offline vehicles if a soc is provided by the charger (#8101)

This commit is contained in:
Michael Geers 2023-05-25 11:13:50 +02:00 • committed by GitHub
parent f9311a1023
commit 35d5a06fb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,7 +294,7 @@ export default {
return this.charging && this.chargePower > 0;
},
socBasedCharging: function () {
return !this.vehicleFeatureOffline && this.vehiclePresent;
return (!this.vehicleFeatureOffline && this.vehiclePresent) || this.vehicleSoc > 0;
},
sessionOptions: function () {
const result = [SESSION.TIME, SESSION.SOLAR];