diff --git a/main_dashboard.yaml b/main_dashboard.yaml index b90666e..d790fe5 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -7959,11 +7959,32 @@ views: icon: mdi:weather-windy - type: custom:windrose-card title: Wind Rose - data_period: - hours_to_show: 24 - max_width: 1000 refresh_interval: 300 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: entity: sensor.home_wind_direction_degrees windspeed_entities: @@ -8011,7 +8032,8 @@ views: cardinal_direction_labels: NESW show_intercardinal_directions: true show_secondary_intercardinal_directions: true - matching_strategy: direction-first + matching_strategy: + - name: direction-first current_direction: show_arrow: true corner_info: @@ -8027,6 +8049,50 @@ views: unit: ° label: Bearing entity: sensor.home_wind_direction_degrees + text_blocks: + top: + text: |- +
| Direction measure’s: | +${direction-count} | +Minimal speed: | +${min-speed} | +
| Speed measure’s.: | +${speed-1-count} | +Maximum speed: | +${max-speed} | +
| Match count: | +${match-count} | +Average speed: | +${average-speed} | +
| Period hours | +${period-hours} | +Calm percentage: | +${calm-percentage}% | +
| First match time | ${date-first-match}, ${time-first-match} | +||
| Last match time | ${date-last-match}, ${time-last-match} | +||
| Period start | ${start-date} - ${start-time} | +||
| Period end | ${end-date} - ${end-time} | +||