(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"
    (label
      :class "weather-subtitle"
      :text " ${json.updated}"
      )))
