Netatmo Rain Started/Stopped

I have a temperamental GFCI for my outside Christmas lights. Since I have a Netatmo weather station, I set up an IFTTT to turn off the lights when rain is detected, but I want them to go back on after the rain has stopped. Ideally I would want to wait for a period of time after the rain has stopped, like 30-40 minutes, which means I can’t use IFTTT for that.

I have already added my Netatmo weather successfully to Home Assistant, but I am trying to create an automation using a Webhooks back to IFTTT to turn the lights back on. The trigger test works, but since it has not rained, I don’t know if the automation will work. Can anyone tell me if this seems like it will work?

  alias: Turn on Christmas Lights after Rain
  description: ''
  trigger:
  - entity_id: sensor.netatmo_harperfield_subdivision_rain_guage_rain
    for: 0:30:00
    from: '1'
    platform: state
    to: '0'
  condition:
  - after: sunset
    condition: sun
  - before: '23:00:00'
    condition: time
  action:
  - data:
      event: rain_stopped
    service: ifttt.trigger
  - data:
      event: rain_stopped_garage
    service: ifttt.trigger

Hi Yeti Walker,

did your automation work? I am having a similar question in the community since I want to close a window once rain starts.
Cheers
Rainer