Temperature sensor to detect Dryer finished announcement automation

I have used a temp sensor positioned on my dryer exhaust hose to measure temperature changes to indicate the dryer is finished. Can anybody see why the below automation isnt working. My logic was that the numeric state of the sensor would exceed 24 degrees which would start the automation. The automation would then “wait for trigger” which would be the fall in temperature when the dryer turns off. Whats my mistake?

id: '1635524394423'
alias: >-
  Dryer Temperature Rises above 24 and then falls below 21 triggering
  announcement of dryer is done 
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.temperature_158d00031b0580
    above: '24'
    for:
      hours: 0
      minutes: 0
      seconds: 1
      milliseconds: 0
condition: []
action:
  - wait_for_trigger:
      - platform: numeric_state
        entity_id: sensor.temperature_158d00031b0580
        below: '21'
        for:
          hours: 0
          minutes: 0
          seconds: 1
          milliseconds: 0
  - service: tts.google_translate_say
    data:
      entity_id: media_player.office_sonos
      message: The dryer is finished
mode: single

You overlooked to mention what is failing to work. Does trigger fail or does the wait_for_trigger fail?

Have you inspected the automation’s trace to see what it does?

I did check the trace. It appeared to be waiting but I am not sure why…and then it started working by manually setting the states in the developer options. I am going to troubleshoot a bit more on my own. I may have been a bit of a knee jerk post but honestly I wasn’t even sure if my logic would work or this combination of numeric states would be “allowed”