Added New Coffee maker detection logic
This commit is contained in:
@@ -697,3 +697,54 @@
|
||||
data:
|
||||
title: Ninja Oven Finished
|
||||
message: The Ninja toaster oven has finished cooking!
|
||||
- id: '1781445544080'
|
||||
alias: 'Kitchen: Coffee Maker Cycle Status'
|
||||
description: 'Triggers on the high-wattage grinder spike. Dynamically waits for
|
||||
the cycle to finish: it requires a minimum of 4 minutes to pass AND the power
|
||||
to drop back to the TV baseline.'
|
||||
triggers:
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.coffee_maker_power
|
||||
above: 1000
|
||||
id: coffee_started
|
||||
conditions: []
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: coffee_started
|
||||
- condition: state
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
state: 'off'
|
||||
sequence:
|
||||
- action: input_boolean.turn_on
|
||||
target:
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: ☕ Coffee Time
|
||||
message: Someone is making coffee.
|
||||
- action: notify.persistent_notification
|
||||
data:
|
||||
title: ☕ Coffee Time
|
||||
message: Someone is making coffee.
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 4
|
||||
seconds: 0
|
||||
- wait_for_trigger:
|
||||
- trigger: numeric_state
|
||||
entity_id: sensor.coffee_maker_power
|
||||
below: 350
|
||||
timeout:
|
||||
hours: 0
|
||||
minutes: 3
|
||||
seconds: 0
|
||||
- action: input_boolean.turn_off
|
||||
target:
|
||||
entity_id: input_boolean.coffee_maker_running
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: ☕ Coffee Ready
|
||||
message: Your coffee is ready to enjoy!
|
||||
mode: single
|
||||
|
||||
Reference in New Issue
Block a user