v2.0.4
v2.0.4
Highlights
v2.0.4 replaces the old "Cloudy" badge with a positive "Solar tracking active" indicator — the tile now shows solar is contributing rather than flagging that a suppressor is present. Each badge kind can be individually shown or hidden via a badges object in the card config, and the same visibility logic applies uniformly to both the tile winner badge and the more-info dialog. The sky compass also gains two visual fixes and a tri-state sun dot.
Added
-
Solar-active badge with per-badge opt-in — the
solarbadge now reads "Solar tracking active" and appears only when the solar handler is contributing, cloud is not the winner, and cloud suppression is actually configured on the integration. The old "Cloudy" badge is gone entirely; a blank tile is the correct state while cloud suppression is active. Each badge kind is individually gated by abadgesconfig object (all on by default); setting any key tofalsehides that badge on both the tile and in the more-info dialog. The full visibility decision runs throughselectVisibleBadgesinsrc/lib/badge-visibility.ts, backed by the pure helpersisSolarActive,isCloudConfigured,isCloudWinner,solarTraceMatched,winnerBadgeKind, andbuildSolarActiveContext. Badge icons for every kind are registered inBADGE_ICONSinsrc/const.ts. TheBadgesConfigandSolarActiveContexttypes insrc/lib/badge-visibility.tsdefine the config and runtime shapes. Unit tests cover the new logic, including configs saved before thebadgeskey existed (#96, #99). -
Tri-state sun dot on the sky compass — the sun marker on
src/components/sky-compass.tsnow renders in one of three states: gold when the sun is above the horizon and within the active window, light gold when above the horizon but outside the window, and gray when below the horizon (719ad34).
Fixed
-
Full 24-hour sun path on the sky compass —
src/components/sky-compass.tsnow plots the complete 24-hour solar arc. The below-horizon portion of the path is drawn on the rim rather than omitted, so the sun's daily trajectory is always complete regardless of current elevation (06017ad). -
Sky-compass legend overflow — the legend wraps below the compass plot on narrow layouts instead of overflowing the container. Fixed in
src/components/sky-compass.ts(1b6a725).
Changed
- Dev and harness scripts now guard against stale file watchers. No card behaviour changes (700c701).
Compatibility
- Home Assistant 2024.1+
- Adaptive Cover Pro integration
v2.22.1-beta.3or newer