Last active
October 18, 2022 07:53
-
-
Save darookee/70ffb2ddcfba72da64f6977a90d7fc37 to your computer and use it in GitHub Desktop.
home-assistant - kaffee ist fertig
This file contains hidden or 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: prepare coffee notification | |
mode: single | |
trigger: | |
- platform: numeric_state | |
entity_id: sensor.kaffeemaschine_power | |
above: '80' | |
for: '00:01:30' | |
action: | |
- service: input_boolean.turn_on | |
target: | |
entity_id: input_boolean.kaffeemaschine | |
- alias: coffee is done | |
mode: single | |
trigger: | |
- platform: numeric_state | |
entity_id: sensor.kaffeemaschine_power | |
below: '40' | |
for: '00:00:30' | |
condition: | |
- condition: state | |
entity_id: input_boolean.kaffeemaschine | |
state: 'on' | |
action: | |
- service: input_boolean.turn_off | |
target: | |
entity_id: input_boolean.kaffeemaschine | |
- alias: notify for coffee | |
mode: single | |
trigger: | |
- platform: state | |
entity_id: input_boolean.kaffeemaschine | |
to: 'off' | |
action: | |
- service: notify.family | |
data: | |
title: "Der Kaffee ist fertig!" | |
message: "☕" |
This file contains hidden or 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
--- | |
# ... | |
automation: !include_dir_merge_list automation/ | |
input_boolean: !include_dir_merge_named input_boolean/ | |
# ... |
This file contains hidden or 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
--- | |
kaffeemaschine: | |
name: kaffeemaschine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment