Skip to content

Instantly share code, notes, and snippets.

@SBajonczak
Created February 5, 2023 12:26
Scenee
alias: NOtification Jeremy
description: ""
trigger:
- platform: mqtt
topic: fhem/WS_2/state
alias: Schalter wurde getätigt
payload: "on"
condition: []
action:
- service: notify.alexa_media_wohnzimmer
data:
message: >-
Achtung! Aufstehen! Dein Bus Kommt in
{{((state_attr("sensor.departure","timeScheduled")|as_timestamp -
utcnow()|as_timestamp)/60)|round}} Minuten
title: Doorbell notification
data:
type: announce
method: speak
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment