Created
July 21, 2024 19:50
-
-
Save Disane87/7cc904cd6680b0428483461cdf1f451e to your computer and use it in GitHub Desktop.
DWD Weather warning HomeAssistant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: 🌊 Wetterwarnung DWD | |
description: "" | |
trigger: | |
- platform: numeric_state | |
entity_id: sensor.kreis_viersen_current_warning_level | |
above: 0 | |
condition: [] | |
action: | |
- service: notify.notify | |
data: | |
message: >- | |
{{ state_attr('sensor.kreis_viersen_current_warning_level', | |
'warning_1_description') }} Von: {{ | |
as_timestamp(state_attr('sensor.kreis_viersen_current_warning_level', | |
'warning_1_start')) | timestamp_custom('%d.%m.%Y, %H:%M')}} Uhr Bis: {{ | |
as_timestamp(state_attr('sensor.kreis_viersen_current_warning_level', | |
'warning_1_end')) | timestamp_custom('%d.%m.%Y, %H:%M')}} Uhr | |
title: >- | |
{{ state_attr('sensor.kreis_viersen_current_warning_level', | |
'warning_1_name') }} ⛈️ | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment