Power Monitors / Set washing machine clean after timeout

View All Rules

## Wait 1 minutes for us to be in the Finishing state before we # ## decide the washing_machine has finished. This way, if the # ## washing_machine is in between cycles and the power drops, we # ## won’t mark the washing_machine cycle as finished too early.

alias: Power Monitors / Set washing machine clean after timeout
trigger:
  - platform: state
    entity_id: input_select.gf_dinning_washing_machine_status
    to: Finishing
    for:
      minutes: 5
condition:
  condition: and
  conditions:
    - condition: state
      entity_id: input_select.gf_dinning_washing_machine_status
      state: Finishing
action:
  - service: input_select.select_option
    data:
      entity_id: input_select.gf_dinning_washing_machine_status
      option: Clean

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.