mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-11 05:13:01 +00:00
Revert "commented out the time since last refesh on weather current"
This reverts commit 731ba7e2b1.
This commit is contained in:
@@ -232,12 +232,12 @@ class WeatherManager:
|
|||||||
fill=self.COLORS['text'])
|
fill=self.COLORS['text'])
|
||||||
|
|
||||||
# Draw "time ago" text below condition (using small font)
|
# Draw "time ago" text below condition (using small font)
|
||||||
# time_since_update = int((time.time() - self.last_update) / 3600) # hours
|
time_since_update = int((time.time() - self.last_update) / 3600) # hours
|
||||||
# time_text = f"{time_since_update}h" # Even shorter text
|
time_text = f"{time_since_update}h" # Even shorter text
|
||||||
# draw.text((icon_x + self.ICON_SIZE['large'] + 1, icon_y + 7), # Reduced from 8
|
draw.text((icon_x + self.ICON_SIZE['large'] + 1, icon_y + 7), # Reduced from 8
|
||||||
# time_text,
|
time_text,
|
||||||
# font=self.display_manager.small_font,
|
font=self.display_manager.small_font,
|
||||||
# fill=self.COLORS['dim']) # Using dimmer color
|
fill=self.COLORS['dim']) # Using dimmer color
|
||||||
|
|
||||||
# Draw current temperature on the right (using small font instead of regular)
|
# Draw current temperature on the right (using small font instead of regular)
|
||||||
temp = round(weather_data['main']['temp'])
|
temp = round(weather_data['main']['temp'])
|
||||||
|
|||||||
Reference in New Issue
Block a user