Sun Weather Card – weather card with sunrise/sunset arc, bars or graph forecast!

Just wanted to let you know that v1.6.0 is now out and includes both of the requested changes: configurable decimal places for sensor attributes and automatic spreading/alignment of the values. :slightly_smiling_face:

:sun_behind_small_cloud: Sun Weather Card v1.6.0 is out!

  • Decimals — round a sensor’s value or attribute to as many decimals as you like.
  • “Fit to text” layout — tidy grid by default, or a left-aligned flow for long names/dates.
  • Editor polish: collapsible sensor panels, entity+attribute labels, optional icon.

Thanks to @dynasticorpheus for the ideas :raising_hands:

:warning: Two defaults changed for custom sensors: names now show on tap (show_sensor_names: true to restore), and layout is now a grid (custom_details_flow: true for the old flow). Existing cards keep working.

Update via HACS — full notes on the release page. Thanks all :folded_hands:

3 Likes

Hi, why doesn’t Home Assistant tell me when there’s an update for this card?

@korova-sq Getting better with every release! :star_struck:

Hope you allow me to share some additional things I noticed.

date/time value in custom section it not localized (12h format instead of 24h in my case)

In HACS you can force it by going to the 3-dot menu for the card entry and select “Update information”

Hi! I usually post here right after publishing the release on GitHub, so it may be that HACS doesn’t detect new versions instantly. It checks for updates at intervals, so you either need to force it in HACS, or wait a bit and HACS will offer the update on its own.

1 Like

Fixed in v1.6.1
Date/time from custom sensors now follow the card’s time_format (12h/24h) like everything else.
Thanks for spotting it!

Looks perfect here, thank you! :star_struck:

1 Like

:tada: v1.7.0 is out!

:artist_palette: Colour-coded graph lines — opt-in via graph_color_by_temp (off by default). Colours the graph temperature lines like the bars.
:bug: Fixed uneven bar width when daily rain is shown — the mm now sit under the max temp, keeping bars uniform.

Update via HACS + hard refresh. Thanks for the feedback, keep it coming!

2 Likes

The card is really handy thanks

1 Like

Thanks, glad you’re enjoying it! :raising_hands:

:rocket: v1.8.0 is out

Mostly a performance + polish release:

:high_voltage: Performance — the card now only redraws when the shown data changes, so the icon animations no longer restart on unrelated HA updates. Graph width is handled via a ResizeObserver, and the clock runs on its own timer.

:sparkles: New (opt-in, off by default):

  • Band fill — with graph_color_by_temp on, the area between the max/min lines is filled with the temperature gradient.
  • graph_precip_bars — show precipitation as scaled bars instead of text.

:wrench: The temperature colour scale now goes up to 40 °C (hot days no longer all look the same red), and the partly-cloudy sun icon got a full set of rays.

:bug: Fixes: the graph fills the full width with fewer days than visible_rows, and the main icon now shows a moon at night when the integration reports sunny/partlycloudy after dark.

Big thanks to fab301s for contributing most of the performance work! :folded_hands:
Update via HACS (remember a hard refresh).

Feedback welcome as always.

1 Like