Skip to content

Configuration

Ash Smith edited this page May 2, 2026 · 1 revision

Configuration

This page lists the most commonly used configuration options.

Basic options

Option Type Default Description
type string Required Must be custom:solar-forecast-card
title string Solar Forecast Header title
icon string mdi:solar-power Header icon
show_header boolean true Show or hide the header
device_id string None Forecast device for auto-detection
integration_type string manual Forecast integration type

Forecast entities

forecast_entities:
  - sensor.forecast_today
  - sensor.forecast_tomorrow
  - sensor.forecast_day_3
  - sensor.forecast_day_4
  - sensor.forecast_day_5
  - sensor.forecast_day_6
  - sensor.forecast_day_7

Live and actual entities

Option Description
live_power_entity Current solar power, W or kW
today_actual_entity Today's measured generation, Wh or kWh
export_rate_entity Current export rate
next_hour_entity Optional override for the +1HR header value
remaining_today_entity Optional override for the LEFT header value

Display options

Option Default Description
show_hourly_as_main false Show today's hourly view directly on the main card
desktop_text_scale 100 Scale card text on wider screens
font_size None Optional daily forecast font size in px
bar_width None Optional daily forecast bar width in px

Thresholds

low_threshold: 10
high_threshold: 30

Forecast values below low_threshold use the low colour. Values above high_threshold use the high colour. Values between them use the average colour.

Clone this wiki locally