Help: automation to turn off jasco 14294 not working

New to Home Assistant

I added my jasco 14294 dimmer controlled porch light, which is working fine.
I created an automation to turn the lights on and off at sunset and sunrise respectively.
Turning the lights on at sunset is working fine.
However turning it off at sunrise has been an issue. The log shows the sunrise even triggering, then the dimmer being turned off by the automation (as expected). However, more often than not, it does not stop there, and turns the light back on again. Here’s a log snippet where it turns the light off, then on, then off again. YAML is at the bottom of this message. I appreciate any help.
Thanks!

7:14:21 AM - [Sun](http://192.168.1.243:8123/logbook#) rose

7:14:21 AM - [Porch Light Off at Sunrise](http://192.168.1.243:8123/logbook#) has been triggered by sunrise

7:14:21 AM - [Porch Light (GE/Jasco 14294) Level](http://192.168.1.243:8123/logbook#) turned off by [Porch Light Off at Sunrise](http://192.168.1.243:8123/logbook#)

7:14:21 AM - [Porch Light (GE/Jasco 14294) Level](http://192.168.1.243:8123/logbook#) turned on by [Porch Light Off at Sunrise](http://192.168.1.243:8123/logbook#)

7:14:23 AM - [Porch Light (GE/Jasco 14294) Level](http://192.168.1.243:8123/logbook#) turned off by [Porch Light Off at Sunrise](http://192.168.1.243:8123/logbook#)

Here’s the YAML:

alias: Porch Light Off at Sunrise
description: ''
trigger:
  - platform: sun
    event: sunrise
condition: []
action:
  - type: turn_off
    device_id: ac06c9e0e591e7240ef52214e7a659e4
    entity_id: light.porch_light_ge_jasco_14294_dimmer
    domain: light
mode: single