Switch to Weather Forecast Card

This commit is contained in:
2026-02-01 19:32:24 -05:00
parent f66de6300f
commit 3df12d4022
2 changed files with 154 additions and 20 deletions

View File

@@ -160,19 +160,32 @@ views:
- condition: state
entity: sensor.weatheralerts_alerts_are_active
state: 'Yes'
- type: custom:clock-weather-card
entity: weather.iron_nerd_weather_station
sun_entity: sun.sun
weather_icon_type: fill
humidity_sensor: sensor.home_relative_humidity
show_humidity: true
apparent_sensor: sensor.home_temperature_feels_like
animated_icon: true
forecast_rows: 7
time_format: 12
- type: custom:weather-forecast-card
show_current: true
show_forecast: true
default_forecast: daily
tap_action:
action: navigate
navigation_path: /lovelace/weather
entity: weather.iron_nerd_weather_station
show_condition_effects: true
forecast:
mode: chart
show_sun_times: true
extra_attribute: wind_bearing
use_color_thresholds: false
hourly_group_size: 1
temperature_precision: 0
forecast_action:
tap_action:
action: toggle-forecast
current:
show_attributes:
- apparent_temperature
- visibility
- pressure
- wind_speed
temperature_precision: 0
- type: custom:mushroom-template-card
primary: Lightning Warning
secondary: >-
@@ -6925,6 +6938,81 @@ views:
download_local: false
queue:
show_artist_names: true
- type: custom:gauge-card-pro
segments:
- pos: 0
color: rgba(100,0,120,0.8)
- pos: 32
color: rgba(0,0,139,0.8)
- pos: 41
color: rgba(0,71,171,0.8)
- pos: 50
color: rgba(30,144,255,0.8)
- pos: 61
color: rgba(100,149,237,0.8)
- pos: 68
color: rgba(60,179,113,0.8)
- pos: 73
color: rgba(152,251,152,0.8)
- pos: 80
color: rgba(255,215,0,0.8)
- pos: 95
color: rgba(178,34,34,0.8)
- pos: 100
color: rgba(139,0,0,0.8)
needle: true
gradient: true
titles:
primary: >-
{{ state_attr(entity, 'friendly_name') | replace(' Temperature',
'') }}
gradient_resolution: auto
entity: sensor.home_tempest_temperature
min: 0
max: 100
round: full
- type: custom:gauge-card-pro
segments:
- pos: 50
color: rgba(30,144,255,0.8)
- pos: 61
color: rgba(100,149,237,0.8)
- pos: 68
color: rgba(60,179,113,0.8)
- pos: 73
color: rgba(152,251,152,0.8)
- pos: 78
color: rgba(255,223,186,0.8)
- pos: 80
color: rgba(255,215,0,0.8)
- pos: 90
color: rgba(178,34,34,0.8)
needle: true
gradient: true
titles:
primary: >-
{{ state_attr(entity, 'friendly_name') | replace(' Temperature',
'') }}
gradient_resolution: auto
entity: sensor.basement_studio_temperature
min: 50
max: 90
round: full
setpoint:
type: template
value: '{{ state_attr(''climate.basement_studio_vtherm'',''temperature'') }}'
label: true
precision: 0
min_indicator:
type: entity
value: input_number.basement_studio_cold_threshold
label: true
opacity: 0
max_indicator:
type: entity
value: input_number.basement_studio_hot_threshold
opacity: 0
label: true
- type: grid
cards:
- type: heading
@@ -8174,6 +8262,8 @@ views:
heading_style: title
- type: entities
entities:
- entity: sensor.home_tempest_temperature
- entity: sensor.home_tempest_feels_like
- entity: sensor.home_temperature
- entity: sensor.home_temperature_feels_like
- entity: sensor.pirateweather_temperature
@@ -8244,6 +8334,37 @@ views:
- entity: sensor.openweathermap_uv_index
show_header_toggle: false
state_color: true
- type: grid
cards:
- type: heading
heading: Forecast Card
heading_style: title
- type: custom:weather-forecast-card
show_current: true
show_forecast: true
default_forecast: daily
tap_action:
action: navigate
navigation_path: /lovelace/weather
entity: weather.iron_nerd_weather_station
show_condition_effects: true
forecast:
mode: chart
show_sun_times: true
extra_attribute: wind_bearing
use_color_thresholds: false
hourly_group_size: 1
temperature_precision: 0
forecast_action:
tap_action:
action: toggle-forecast
current:
show_attributes:
- apparent_temperature
- visibility
- pressure
- wind_speed
temperature_precision: 0
cards: []
- title: Weather Comparisons
path: weather-comparisons

View File

@@ -481,19 +481,32 @@ views:
- condition: state
entity: sensor.weatheralerts_alerts_are_active
state: 'Yes'
- type: custom:clock-weather-card
entity: weather.iron_nerd_weather_station
sun_entity: sun.sun
weather_icon_type: fill
humidity_sensor: sensor.home_relative_humidity
show_humidity: true
apparent_sensor: sensor.home_temperature_feels_like
animated_icon: true
forecast_rows: 7
time_format: 12
- type: custom:weather-forecast-card
show_current: true
show_forecast: true
default_forecast: daily
tap_action:
action: navigate
navigation_path: /lovelace/weather
entity: weather.iron_nerd_weather_station
show_condition_effects: true
forecast:
mode: chart
show_sun_times: true
extra_attribute: wind_bearing
use_color_thresholds: false
hourly_group_size: 1
temperature_precision: 0
forecast_action:
tap_action:
action: toggle-forecast
current:
show_attributes:
- apparent_temperature
- visibility
- pressure
- wind_speed
temperature_precision: 0
- type: heading
icon: mdi:home-account
heading: People