Hi Home Assistant community
I am trying to add an automation where the shutter should open once the rain is stopping. I managed a simple automation which works once rain rate is below a certain value. However, as rain is usually coming in waves, I wanted to add a delay of 30min before opening the shutters so they do not go up and down multiple times.
The following automation however is not working at all.
Anyone in here able to spot the error in the automation or has an idea how to add such a delay?
id: '1654028831267'
alias: open shutter when stop raining (if <1mm)
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.pws_precip_rate
for:
hours: 0
minutes: 30
seconds: 0
attribute: ''
below: '1'
condition:
- condition: sun
before: sunset
before_offset: '3000'
after: sunrise
action:
- device_id: 6a2c6eefe5a9007af2988228bdb56b10
domain: cover
entity_id: cover.wohnzimmer_rolladen_rechts_shutterbox_position
type: set_position
position: 98
- device_id: 5e40e1695db7fdbbc79ba744e90b31d7
domain: cover
entity_id: cover.rolladen_wohnzimmer_links_shutterbox_position
type: set_position
position: 98