Add the new wind rose cards to the weather comparison dashboard

This commit is contained in:
2025-02-28 15:38:12 -05:00
parent 49a08047b0
commit 510a261b2c

View File

@ -6523,98 +6523,146 @@ views:
cards: cards:
- type: heading - type: heading
heading: Wind heading: Wind
- type: custom:compass-card
indicator_sensors:
- sensor: sensor.home_wind_direction_degrees
indicator:
type: arrow_inward
value_sensors:
- sensor: sensor.home_wind_speed
header:
title:
value: Defiance
- type: custom:compass-card
indicator_sensors:
- sensor: sensor.ashland_wind_direction_degrees
indicator:
type: arrow_inward
value_sensors:
- sensor: sensor.ashland_wind_speed
header:
title:
value: Ashland
- type: custom:windrose-card - type: custom:windrose-card
title: Defiance title: Defiance
data_period: data_period:
from_hour_of_day: 0 hours_to_show: 24
max_width: 1000 max_width: 1000
refresh_interval: 300 refresh_interval: 300
windspeed_bar_location: right windspeed_bar_location: bottom
windspeed_bar_full: true
wind_direction_entity: wind_direction_entity:
entity: sensor.home_wind_direction_degrees entity: sensor.home_wind_direction_degrees
windspeed_entities: windspeed_entities:
- entity: sensor.home_wind_speed - entity: sensor.home_wind_speed
name: Wind name: Wind
speed_range_beaufort: false
speed_unit: mph speed_unit: mph
output_speed_unit: mph
output_speed_unit_label: mph
windspeed_bar_full: false
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200,100%,60%)
- from_value: 20
color: orange
- from_value: 40
color: red
- from_value: 60
color: purple
- entity: sensor.home_wind_gust - entity: sensor.home_wind_gust
name: Gust name: Gust
speed_range_beaufort: false
speed_unit: mph speed_unit: mph
output_speed_unit: mph output_speed_unit: mph
output_speed_unit_label: mph output_speed_unit_label: mph
cardinal_direction_letters: NESW windspeed_bar_full: false
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200,100%,60%)
- from_value: 20
color: orange
- from_value: 40
color: red
- from_value: 60
color: purple
direction_labels:
cardinal_direction_labels: NESW
show_intercardinal_directions: true
show_secondary_intercardinal_directions: true
matching_strategy: direction-first matching_strategy: direction-first
wind_direction_count: 32 current_direction:
speed_range_beaufort: false show_arrow: true
speed_ranges: corner_info:
- from_value: 0 top_left:
color: rgb(0,255,0) label: Speed
- from_value: 5 unit: ' mph'
color: yellow entity: sensor.home_wind_speed
- from_value: 10 top_right:
color: hsl(200,100%,60%) unit: ' mph'
- from_value: 20 label: Gust
color: orange entity: sensor.home_wind_gust
- from_value: 40 bottom_left:
color: red unit: °
- from_value: 60 label: Bearing
color: purple entity: sensor.home_wind_direction_degrees
- type: custom:windrose-card - type: custom:windrose-card
title: Ashland title: Ashland
data_period: data_period:
from_hour_of_day: 0 hours_to_show: 24
max_width: 1000 max_width: 1000
refresh_interval: 300 refresh_interval: 300
windspeed_bar_location: right windspeed_bar_location: bottom
windspeed_bar_full: true
wind_direction_entity: wind_direction_entity:
entity: sensor.ashland_wind_direction_degrees entity: sensor.ashland_wind_direction_degrees
windspeed_entities: windspeed_entities:
- entity: sensor.ashland_wind_speed - entity: sensor.ashland_wind_speed
name: Wind name: Wind
speed_range_beaufort: false
speed_unit: mph speed_unit: mph
output_speed_unit: mph
output_speed_unit_label: mph
windspeed_bar_full: false
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200,100%,60%)
- from_value: 20
color: orange
- from_value: 40
color: red
- from_value: 60
color: purple
- entity: sensor.ashland_wind_gust - entity: sensor.ashland_wind_gust
name: Gust name: Gust
speed_range_beaufort: false
speed_unit: mph speed_unit: mph
output_speed_unit: mph output_speed_unit: mph
output_speed_unit_label: mph output_speed_unit_label: mph
cardinal_direction_letters: NESW windspeed_bar_full: false
speed_ranges:
- from_value: 0
color: rgb(0,255,0)
- from_value: 5
color: yellow
- from_value: 10
color: hsl(200,100%,60%)
- from_value: 20
color: orange
- from_value: 40
color: red
- from_value: 60
color: purple
direction_labels:
cardinal_direction_labels: NESW
show_intercardinal_directions: true
show_secondary_intercardinal_directions: true
matching_strategy: direction-first matching_strategy: direction-first
wind_direction_count: 32 current_direction:
speed_range_beaufort: false show_arrow: true
speed_ranges: corner_info:
- from_value: 0 top_left:
color: rgb(0,255,0) label: Speed
- from_value: 5 unit: ' mph'
color: yellow entity: sensor.ashland_wind_speed
- from_value: 10 top_right:
color: hsl(200,100%,60%) unit: ' mph'
- from_value: 20 label: Gust
color: orange entity: sensor.ashland_wind_gust
- from_value: 40 bottom_left:
color: red unit: °
- from_value: 60 label: Bearing
color: purple entity: sensor.ashland_wind_direction_degrees
column_span: 2 column_span: 2
- type: grid - type: grid
cards: cards: