Update coffee machine automations
This commit is contained in:
parent
d33ef15efc
commit
30122639f9
@ -2,13 +2,15 @@
|
||||
alias: "[Calendar] Coffee machine"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: calendar
|
||||
event: start
|
||||
entity_id: calendar.automations_caffeine_free_time
|
||||
- platform: calendar
|
||||
event: start
|
||||
entity_id: calendar.automations_sleep
|
||||
offset: '-8:00:0'
|
||||
action:
|
||||
- wait_for_trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.coffee_machine_electrical_measurement
|
||||
below: '4'
|
||||
- service: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.coffee_machine_on_off
|
||||
@ -17,16 +19,10 @@
|
||||
alias: "[Calendar] Coffee machine"
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: calendar
|
||||
event: end
|
||||
entity_id: calendar.automations_caffeine_free_time
|
||||
- platform: calendar
|
||||
event: end
|
||||
entity_id: calendar.automations_sleep
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: calendar.automations_caffeine_free_time
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: calendar.automations_sleep
|
||||
state: 'off'
|
||||
|
@ -79,6 +79,9 @@ good_morning:
|
||||
entity_id: switch.computer_outlet
|
||||
- service: switch.turn_off
|
||||
entity_id: switch.mute_doorbell
|
||||
- service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.coffee_machine_on_off
|
||||
mode: single
|
||||
icon: mdi:weather-sunny
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user