final dashboard commit

This commit is contained in:
giusber2005 2025-08-02 08:07:31 +02:00
parent 76b5c25fee
commit 99e6901655
2 changed files with 49 additions and 48 deletions

View file

@ -415,6 +415,7 @@ class PlantGrowthDashboard:
params['ambient_mode'] = self.ambient_mode.get()
current_mode = self.ambient_mode.get()
happy_data = 0
if current_mode == "open":
happy_data = self.happyMeteo.openMeteoCall(days_difference)
@ -432,6 +433,9 @@ class PlantGrowthDashboard:
'end_date': self.calendar.get_date().isoformat()
}
if current_mode == "open":
submission_data['meteoForecast'] = happy_data
#Remove plant_info_text
self.plant_info_text.delete(1.0, tk.END)