Last active
November 23, 2021 17:14
-
-
Save andycb/fde1a7471b5e252e2551f4a4b6cbfba2 to your computer and use it in GitHub Desktop.
Home Assistant Coffee
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
type: vertical-stack | |
cards: | |
- type: vertical-stack | |
cards: | |
- type: entity | |
entity: sensor.coffeemaker_c10a29_brew_state | |
name: Status | |
- type: button | |
tap_action: | |
action: call-service | |
service: mqtt.publish | |
service_data: | |
topic: CoffeeMaker/COFFEEMAKER-1/command | |
payload: Brew | |
target: {} | |
show_name: true | |
name: Make Coffee! | |
hold_action: | |
action: none | |
icon: mdi:coffee |
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: Coffee Done | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: sensor.mqtt_sensor | |
to: KeepWarm | |
from: Brewing | |
condition: [] | |
action: | |
- service: notify.notify | |
data: | |
message: ☕️Coffee is ready! Get it while its fresh! | |
mode: single |
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: Coffee Forgotten | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: sensor.mqtt_sensor | |
to: KeepWarm | |
from: Brewing | |
for: | |
hours: 0 | |
minutes: 10 | |
seconds: 0 | |
milliseconds: 0 | |
condition: [] | |
action: | |
- service: notify.notify | |
data: | |
message: ☕️You've Forgotten Your Coffee! | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment