This automation script monitors the progress of your oven's baking program. When the progress exceeds 99%, the automation sends notifications to your Alexa devices in the living room and bathroom – so you always know when your oven is done. 🔥
The automation is triggered by a numeric state change of the sensor.backofen_programm_fortschritt
sensor. When the value goes above 99, it typically means that the program is complete and the oven is ready. ⏰
The script starts with a clear alias and description to define its purpose. It listens for the numeric state change of the oven's progress sensor. As soon as this sensor value exceeds 99, the automation immediately sends notifications without further conditions. 👨🍳
Notifications are then dispatched to Alexa devices in both the living room and the bathroom, ensuring that you get the alert wherever you might be at home. 🔔
Copy the YAML code below and add it to your Home Assistant configuration (e.g. /config/automations.yaml
) to enable the oven completion notifications.
alias: "Backofen ist fertig"
description: ""
trigger:
- trigger: numeric_state
entity_id:
- sensor.backofen_programm_fortschritt
above: 99
condition: [] # No additional conditions.
action:
- action: notify.alexa_media_wohnzimmer
metadata: {}
data:
message: Backofen ist fertig
- action: notify.alexa_media_badezimmer
metadata: {}
data:
message: Backofen ist fertig
mode: single
The code above defines the complete automation sequence. If needed, you can further extend or customize the "condition" and "action" sections. 🔧
This detailed explanation and the clean layout provide clarity and ease of use for both beginners and experienced Home Assistant users. 👍