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