Forecast: dont show if not configured

This commit is contained in:
Michael Geers 2025-03-11 11:30:10 +01:00
parent 028ec730d1
commit be4d59c928

View file

@ -393,7 +393,7 @@ export default {
return !!this.forecast?.solar;
},
solarForecastRemainingToday() {
return this.forecast?.solar?.today?.energy || 0;
return this.forecast?.solar?.today?.energy || undefined;
},
solarForecastIcon() {
return this.solarForecastExists ? "forecast" : undefined;