Skip to content

Commit

Permalink
Show KNMI weather warnings map when there are active warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
golles committed Nov 28, 2024
1 parent 27305dc commit 62e50ef
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lovelace/views/weer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,26 @@ sections:
grid_columns: full
grid_rows: 8

- type: grid
visibility:
- condition: or
conditions:
- condition: state
entity: binary_sensor.knmi_waarschuwing
state: "on"
- condition: state
entity: binary_sensor.meteoalarm
state: "on"
cards:
- type: heading
heading: KNMI waarschuwing
heading_style: subtitle
- type: picture
image: https://cdn.knmi.nl/knmi/map/general/waarschuwing_land_48_new.gif
tap_action:
action: url
url_path: https://cdn.knmi.nl/knmi/map/general/waarschuwing_land_48_new.gif

- type: grid
cards:
- type: heading
Expand Down

0 comments on commit 62e50ef

Please sign in to comment.