Zigbee Door Sensor on the washing lid

I did the

Phil Dumb washing Machine Smart

added a Zigbee Wireless Door Window Sensor to the washing machine door

image

as I when the washing is done BUT mite get it hung out.

so I added a hangout timer in

then added

    - service: timer.start
      target:
          entity_id: timer.hangout

to Phil automation
“Set washing machine clean after timeout”
and we need to add the

timer.cancel to Phil
“Set washing machine active when power detected”

    - service: timer.cancel
      data:
        entity_id: timer.hangout

just to stop the timer IF its going (should never be tho BUT)

now the timer starts when a load is finishes

- id: 49963f01-e6dc-4411-9ab2-88478b02915c
  alias: washing time finish
  trigger:
  - platform: event
    event_type: timer.finished
    event_data:
      entity_id: timer.hangout
  action:
    - service: notify.alexa_media
      data_template:
        data:
          type: announce
        target:
          - media_player.bedroom
          - media_player.lounge
          - media_player.office
          - media_player.garage
        message: 'Hay I told you to hang out the washing. GO AND DO IT'
    - service: timer.start
      target:
          entity_id: timer.hangout

So it keeps restating timer until the washine door is open
so here is that one

- id: '1618352058958'
  alias: Washing Door Opened cancel the timer
  description: Washing door opened so cancel the timer
  trigger:
  - type: opened
    platform: device
    device_id: b2845923692155fad851455dbb52a669
    entity_id: binary_sensor.washing_door
    domain: binary_sensor
  condition: []
  action:
  - service: timer.cancel
    target:
      entity_id: timer.hangout

Thanks for the tips. Any chance you could share you full washing machine yaml in your GIT repo?

It’s Phil one I just added the above code bits