Forecast: dont show if not configured
This commit is contained in:
parent
028ec730d1
commit
be4d59c928
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue