Last active
January 9, 2024 00:24
-
-
Save highTowerSU/5604ead4c96e6dbfae31c41edaf51cf3 to your computer and use it in GitHub Desktop.
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
blueprint: | |
name: Alarm CO-Melder | |
description: 'Wenn einer der CO-Melder CO erkennt, werden Push Nachrichten | |
an die mobile Apps verschickt und eine Benachrichtigung erstellt.' | |
domain: automation | |
input: | |
sensor: | |
name: CO-Melder | |
description: Liste der CO-Meldersensoren | |
selector: | |
entity: | |
multiple: true | |
device_class: carbon_monoxide | |
titel: | |
name: Meldungstitel | |
description: Titel für die Meldung beispielsweise !! CO-Alarm !! | |
default: ' !! CO-Alarm !!' | |
selector: | |
text: | |
text: | |
name: Meldungstext | |
description: 'Text (Inhalt) der Meldung. Der eingegebene Text wird | |
an den Namen des Sensors, der ausgelöst hat, angehängt. | |
[Name des Sensors]+[Meldungstext]' | |
default: ' hat Kohlenmonoxid erkannt!' | |
selector: | |
text: | |
actions: | |
name: Actions | |
description: Benachtrichtigungen oder ähnliches zum Ausführen. {{message_text}} und {{message_titel}} wird mit den oben konfigurierten Texten ersetzt. | |
selector: | |
action: {} | |
trigger: | |
- platform: state | |
entity_id: !input sensor | |
to: 'on' | |
condition: [] | |
variables: | |
message_text: !input text | |
message_titel: !input titel | |
action: | |
- choose: [] | |
default: !input 'actions' | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment