New backup 2025-04-26 22:45:01

This commit is contained in:
Penelope Gwen 2025-04-26 22:45:01 -07:00
parent b67581c886
commit 1c9f8f9b2a
2 changed files with 15 additions and 0 deletions

View file

@ -11,3 +11,4 @@
(include "modules/home/rat.yuck")
(include "modules/home/weather.yuck")
(include "modules/home/shortcuts.yuck")
(include "modules/home/notes.yuck")

View file

@ -0,0 +1,14 @@
(defpoll weather_status :initial "{'condition':'loading...','current_temp':'--','feels_temp':'--','min_temp':'--','max_temp':'--','humidity':'--','icon':' ','updated':'loading...'}"
:interval "3600s"
'scripts/home/hass_weather')
(defwidget weather [json]
(box
:class "weather"
:orientation "v"
:width 300
:height 125
:space-evenly true
"${json.condition} ${json.icon}"
"${json.current_temp}°F  / ${json.humidity}% "
" ${json.max_temp}°F  ${json.min_temp}°F"
" ${json.updated}"))