-
Notifications
You must be signed in to change notification settings - Fork 28
Solar Chart Card
custom:adaptive-cover-pro-solar-chart-card
The Solar Chart card renders the sun-elevation-vs-time chart on its own β the same "Sun Today" curve the Panel Card and the Sky Compass Card already draw, lifted out for dashboards that want the elevation timeline without the compass wedge, decision strip, or cover bars around it. Like the Sky Compass Card and unlike the Decision Strip Card, it takes one or more config entries at once: pick several Adaptive Cover Pro instances and each contributes its own sun acceptance angle timing onto the shared curve.
It is the fifth card in the Adaptive Cover Pro Card bundle; installing the bundle once registers all five.
- You want the sun-elevation timeline on a dashboard without the compass, decision strip, or override controls the full Panel Card carries.
- You're already running the Sky Compass Card for the polar azimuth view and want the elevation timeline broken out onto its own card instead of toggling
show_elevation_charton that one. - You want to overlay several ACP instances' sun acceptance angle windows on one shared elevation timeline β the same overlay model the Sky Compass Card uses, minus the polar plot.
If you only have one instance and want everything at a glance, the full Panel Card is usually the better fit.
- The sun's elevation over the next 24 hours: a horizon line, 0Β°/30Β°/60Β°/90Β° gridlines, a "now" cursor, and a sun dot colored the same way as the rest of the card bundle β gold with a soft glow when the sun is actually hitting a window, plain gold when it's inside a window's sun acceptance angle but not yet counted as a valid hit, light yellow when it's above the horizon but outside every window's FOV, and dim grey below the horizon.
- The curve itself depends only on your Home Assistant instance's latitude and longitude, so it's identical no matter how many entries you overlay. What varies per entry is the sun acceptance angle timing drawn on top of it.
-
One entry selected: a header line above the chart states the times the sun sits inside that window's FOV today (or says it doesn't), plus the automation schedule window when the integration's
control_statussensor reports one. The FOV band is drawn directly on the plot, clipped to the window's elevation limits when the integration reports them (dashed gold lines). - Two or more entries: the FOV bands move off the plot into a stacked ribbon β one row per entry, anchored just above the time axis β each colored to match that entry's palette or override color, with the exact in-FOV time range shown on hover. The header line drops the per-entry FOV summary (the ribbon already carries it) but keeps the schedule line.
-
compact: truehides the header line entirely and shrinks the chart's aspect ratio, for dense dashboards.
Drop the card onto a dashboard and the visual editor walks you through it. Or edit YAML directly:
type: custom:adaptive-cover-pro-solar-chart-card
entry_ids:
- KITCHEN_ENTRY_ID
- LIVING_ROOM_ENTRY_ID
# optional:
title: Sun today
compact: false
cover_colors: # per-entry overlay colors, aligned to entry_ids order
- '#4f9eff' # Kitchen (omit or null to keep the palette default)
- null # Living room β keep default| Option | Type | Default | Description |
|---|---|---|---|
entry_ids |
string[] |
(required) | One or more ACP config entry IDs. Each contributes its own sun acceptance angle timing to the chart. Must be a non-empty array of non-empty strings. |
title |
string |
unset | Optional header text above the chart. |
compact |
bool |
false |
Smaller chart; hides the header row (title, FOV summary, schedule line). |
cover_colors |
(string | null)[] |
palette | Per-entry overlay colors for the FOV ribbon, aligned to entry_ids order. null (or an omitted trailing entry) keeps that entry's automatic palette color. |
tooltips |
object | enabled | Card-owned floating tooltip behaviour, shared with the other cards. See Tooltips. |
The editor lists your Adaptive Cover Pro config entries as a checklist β tick as many as you want to overlay. Below it, an optional title field; once at least one entry is selected, a color swatch appears per entry (each defaulting to its automatic palette color) with a reset button to clear a manual override back to that default; and a compact-mode toggle at the bottom.
The card follows the same rule as the Sky Compass Card: with exactly one entry_ids value, the chart reads like the Panel Card's own elevation strip β FOV timing is summarized in the header and drawn as a single band on the plot. With two or more, the FOV overlays move into the stacked ribbon so multiple entries' timing don't collide on one band, and the header stops repeating what the ribbon already shows.
An entry whose sun-position sensor hasn't populated yet (a deleted entry, or the integration still warming up after a restart) is dropped from the chart and listed in a small "entries not found" line beneath it. One quirk worth knowing: the chart checks only the first successfully-discovered entry for a populated sun-position sensor before it draws anything β if that one entry hasn't reported yet, the whole chart shows a loading placeholder even though your other entries are ready. It clears itself as soon as that entry's sensor updates.
Open Settings β Devices & Services, click each Adaptive Cover Pro instance you want to include, and copy the value from config_entry=β¦ in the browser URL. The visual editor lists every instance with a checkbox, so you don't normally need to look these up manually.
- Home Assistant: 2024.5.0+
- Adaptive Cover Pro: v2.14.0+ β no new integration minimum for this card
- Card bundle: ships in the same JS file as the Panel Card, Tile Card, Sky Compass Card, and Decision Strip Card; installing the bundle installs all five. See Dashboard Cards β Installation.
Card issues β https://github.com/jrhubott/adaptive-cover-pro-card/issues
A browser devtools console screenshot almost always gets the fastest fix.
π Home Β· β¨ Features Β· π° What's New
π Getting Started
- Installation
- Migrating from Custom Repository
- Migrating from Adaptive Cover
- First-Time Setup
- Building Profile β start here if you have multiple covers
- Cover Groups
- Copy Settings to Other Covers
- Cover Types
π§ Core Concepts
π Cover Types
- Vertical
- Horizontal
- Oscillating Awning
- Roof / Skylight Window
- Tilt
- Louvered Roof
- Sliding Curtain
- Day/Night Shade
- Dual Panel
- Venetian (Dual-Axis)
βοΈ Configuration
- Sun Tracking
- Position
- Position Matching
- Travel Time Calibration
- Glare Zones
- Automation
- Manual Override
- Command Queue
- Custom Position
- Force Override
- Weather Safety
- Climate
- Templated Thresholds
- Template Self-References
- Blindspot
- Summary Screen
- Debug & Diagnostics
π Entities & Services
- Entities
- Proxy Cover Entity
- Position Verification
- My Position Support (Somfy RTS)
- Runtime Configuration Services
π οΈ Operations
- Known Limitations
- Hardware Compatibility
- Troubleshooting
- Troubleshooting Findings
- Diagnostic Sensors
- Tips and Tricks
π§ Advanced Use Cases
- Overview
- Dynamic Temperature Thresholds
- Dynamic Tracking Window
- Bedroom Sleep Mode
- Handling Variable Cloud Cover
- Indoor Lux Sensor Behind the Cover
- Venetian Tilt-Only on Overcast Days
- Forecast-Based Shading
- Custom Position When Sun in FOV
- Suppress Closing While a Door Is Open
- Keep a Blind Clear of the Sill
π¨ Dashboard
- Dashboard Cards
- Panel Card
- Tile Card
- Sky Compass Card
- Decision Strip Card
- Solar Chart Card
- History Card
π§ͺ Testing & Simulation
π Reference
π©βπ» For Developers