Update Windrose card due to new features released

This commit is contained in:
2026-03-11 14:13:13 -04:00
parent 6a56597b41
commit 5a3e93ca72

View File

@@ -7959,11 +7959,32 @@ views:
icon: mdi:weather-windy icon: mdi:weather-windy
- type: custom:windrose-card - type: custom:windrose-card
title: Wind Rose title: Wind Rose
data_period:
hours_to_show: 24
max_width: 1000
refresh_interval: 300 refresh_interval: 300
windspeed_bar_location: bottom windspeed_bar_location: bottom
buttons_config:
location: top
buttons:
- type: period_selector
button_text: 1 Hour
period_back: '-1h'
- type: period_selector
button_text: 8 Hours
period_back: '-8h'
- type: period_selector
active: true
button_text: 1 Day
period_back: '-1d'
- type: period_selector
button_text: 10 Days
period_back: '-10d'
- type: period_shift_play
period_back: '-1w'
button_text: Play
step_period: +3h
window_period: +10d
delay: 50
use_statistics: true
statistics_period: hour
wind_direction_entity: wind_direction_entity:
entity: sensor.home_wind_direction_degrees entity: sensor.home_wind_direction_degrees
windspeed_entities: windspeed_entities:
@@ -8011,7 +8032,8 @@ views:
cardinal_direction_labels: NESW cardinal_direction_labels: NESW
show_intercardinal_directions: true show_intercardinal_directions: true
show_secondary_intercardinal_directions: true show_secondary_intercardinal_directions: true
matching_strategy: direction-first matching_strategy:
- name: direction-first
current_direction: current_direction:
show_arrow: true show_arrow: true
corner_info: corner_info:
@@ -8027,6 +8049,50 @@ views:
unit: ° unit: °
label: Bearing label: Bearing
entity: sensor.home_wind_direction_degrees entity: sensor.home_wind_direction_degrees
text_blocks:
top:
text: |-
<table>
<tr>
<td>Direction measures:</td>
<td>${direction-count}</td>
<td>Minimal speed:</td>
<td>${min-speed}</td>
</tr>
<tr>
<td>Speed measures.:</td>
<td>${speed-1-count}</td>
<td>Maximum speed:</td>
<td>${max-speed}</td>
</tr>
<tr>
<td>Match count:</td>
<td>${match-count}</td>
<td>Average speed:</td>
<td>${average-speed}</td>
</tr>
<tr>
<td>Period hours</td>
<td>${period-hours}</td>
<td>Calm percentage:</td>
<td>${calm-percentage}%</td>
</tr>
<tr>
<td>First match time</td><td colspan="2">${date-first-match}, ${time-first-match}</td>
</tr>
<tr>
<td>Last match time</td><td colspan="2">${date-last-match}, ${time-last-match}</td>
</tr>
<tr>
<td>Period start</td><td colspan="2">${start-date} - ${start-time}</td>
</tr>
<tr>
<td>Period end</td><td colspan="2">${end-date} - ${end-time}</td>
</tr>
</table>
text_color: gray
text_size: 14
- type: entities - type: entities
entities: entities:
- entity: binary_sensor.tornado_warning - entity: binary_sensor.tornado_warning