#Notification when washer door not opened for 15 minutes

18 messages · Page 1 of 1 (latest)

stark monolith
#

I'm having an issue triggering this after 15 minutes. it's wanting to fire as soon as the cycle is done. am i not using the duration properly?

`alias: WASHER DOOR
description: ""
trigger:

  • type: turned_on
    platform: device
    device_id: 62c9426824683f4417b6deda902061b2
    entity_id: 0877fb0a2dddeff619590042fc0d2dcf "laundry end of cycle is turned on"
    domain: binary_sensor
    condition:
  • type: is_not_open
    condition: device
    device_id: 62c9426824683f4417b6deda902061b2
    entity_id: 8fbdcea5e9e1ab4db333cdd2e0dce8d4 "laundry door is closed"
    domain: binary_sensor
    for:
    hours: 0
    minutes: 0
    seconds: 0
  • condition: not
    conditions:
    • type: is_open
      condition: device
      device_id: 62c9426824683f4417b6deda902061b2
      entity_id: 8fbdcea5e9e1ab4db333cdd2e0dce8d4 "laundry door is open"
      domain: binary_sensor
      for:
      hours: 0
      minutes: 15
      seconds: 0
      action:
  • action: notify.mobile_app_galaxy_watch_ultra_d8lp
    metadata: {}
    data:
    data:
    ttl: 0
    priority: high
    title: WASHER
    message: The laundry has been sitting in the washer for 15 minutes
  • action: tts.cloud_say
    data:
    cache: false
    entity_id: media_player.foyer_speaker
    message: >-
    The laundry has been sitting in the washer for 15 minutes, its time to
    take them out
    language: en-IE
    mode: single`
glad flicker
#

GPT?

cosmic pier
#

Conditions are a point in time check. They don't wait.

#

Why not add for: 00:15:00 to the trigger?

#

You'll possibly need to switch to a state trigger for that

stark monolith
#

so would that look something like the initial state trigger being laundry door is closed for 15 minutes and if end of cycle is on

#

how does that look. no time to test atm but i can tonite.

#

i might have gotten that backwards.

cosmic pier
#

Can you share the YAML please

stark monolith
#

`alias: WASHER DOOR TEST
description: ""
trigger:

  • platform: state
    entity_id:
    • binary_sensor.d828c93a0433_laundry_end_of_cycle
      from: "off"
      to: "on"
      for:
      hours: 0
      minutes: 15
      seconds: 0
      condition:
  • type: is_not_open
    condition: device
    device_id: 62c9426824683f4417b6deda902061b2
    entity_id: 8fbdcea5e9e1ab4db333cdd2e0dce8d4
    domain: binary_sensor
    action:
  • action: notify.mobile_app_galaxy_watch_ultra_d8lp
    metadata: {}
    data:
    data:
    ttl: 0
    priority: high
    title: WASHER
    message: The laundry has been sitting in the washer for 15 minutes
  • action: tts.cloud_say
    data:
    cache: false
    entity_id: media_player.foyer_speaker
    message: >-
    The laundry has been sitting in the washer for 15 minutes, its time to
    take them out
    language: en-IE
    mode: single`
cosmic pier
#

Ok:

  1. When the laundry has finished for 15 mins
  2. If the door isn't open
  3. Notify
stark monolith
#

yea

cosmic pier
#

If that's what you want then you're good

stark monolith
#

ok, thanks i'll test tonite

stark monolith
#

unfortunately this still fails. not because the automation fails but because after end of state is reported active, the state goes to off after 4 minutes and i know thats more how the washer reports the state to the integration. is there a way for say when end of state is reported on then a timer executes and only fires if the condition being the door is closed upon ending?

cosmic pier
#

Yes