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 entity_id: calendar.automations_wakeup
offset: '-16:00:0' offset: '-16:00:0'
action: action:
- wait_for_trigger: - choose:
- platform: numeric_state - conditions:
entity_id: sensor.coffee_machine_electrical_measurement - platform: numeric_state
below: '4' 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 - service: switch.turn_off
target: target:
entity_id: switch.coffee_machine_on_off entity_id: switch.coffee_machine_on_off