1
0

Fix coffee machine automation

This commit is contained in:
Przemek Grondek 2022-11-16 01:27:05 +01:00
parent cedea7d7dc
commit 86a9d4b0c3

View File

@ -7,10 +7,16 @@
entity_id: calendar.automations_wakeup
offset: '-16:00:0'
action:
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.coffee_machine_electrical_measurement
below: '4'
- choose:
- conditions:
- platform: numeric_state
entity_id: sensor.coffee_machine_electrical_measurement
below: 4
sequence:
- 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