Update Windrose card due to new features released
This commit is contained in:
@@ -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: |-
|
||||
<table>
|
||||
<tr>
|
||||
<td>Direction measure’s:</td>
|
||||
<td>${direction-count}</td>
|
||||
<td>Minimal speed:</td>
|
||||
<td>${min-speed}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Speed measure’s.:</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
|
||||
entities:
|
||||
- entity: binary_sensor.tornado_warning
|
||||
|
||||
Reference in New Issue
Block a user