Automation - device offline?

Have a ST switch - Enbrighten Wall Switch - I use to turn on off my driveway lights. One automation turn lights on at sunset, another turns lights off at sunrise. Automations have worked well for 4 months.
In the last week, the automation turns the lights on, but not off. Checked the automations. The ‘On’ automation shows no errors. The ‘Off’ automation shows “Offline.” I don’t understand how the device is “online” to turn the lights “On,” but “Offline” to turn the lights “Off.” same device.

I’ve deleted the “Offline” automation and created a news one. Still shows “Offline.” How do I get the automation to work?

An alternative might be to use smart lighting instead of automations.