Skip to content

Instantly share code, notes, and snippets.

@andycb
Last active Nov 23, 2021
Embed
What would you like to do?
Home Assistant Coffee
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
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
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