Recently I got my GE washer and dryer added with the smart HQ integration. So now I have access to entities such as door open/closed and machine state. I set up an automation that announces “Your laundry is done” through Alexa with TTS when the machine state changes from Run to Finished. This works just fine. I wanted to do another automation with the following setup. When the washing machine state goes from Run to Finish and the state of the door has not changed since Finish after 15 minutes then announce “Stop being lazy and get your laundry”. I tried do the second part as a condition but I can’t seem to get it to work. Any ideas or suggestions?
platform: state
entity_id:
- sensor.gs102224g_laundry_machine_state
from: Run
to: Finished
for:
hours: 0
minutes: 0
seconds: 0
condition: template
value_template: ‘{{ (as_timestamp(now())-as_timestamp(states.binary_sensor.gs102224g_laundry_door.last_updated)) > 900 }}’