@Andreas_Lindahl You should know when a light is dimmed to 0%, by a flow or manually, the log entry is the same: turned off by [app name].
I can recommend to install the “Audit” app, it might reveal what’s going on at the time of the “turned off” event.