Since roughly a week ago some of my lights started to turn on in the morning when mode changes from night to home. It just started one morning and has been doing it since then. I can't recall that I made any changes in my hub the days before.
The last days I have tried to find out what was causing this, but I can't find any cause.
I have checked the devices for what apps they are tied to, but the only common app for the lights is a rule that turns off all the lights and change to night mode by the push of a button.
The mode change in the morning is triggered by time only.
My log doesn't give any clues.
dev:1112021-09-17 06:00:01.425 infoTV-bänk switch is on
dev:110 2021-09-17 06:00:01.417 info Sänglampa Tommy switch is on
dev:109 2021-09-17 06:00:01.412 info Sänglampa Rebecca switch is on
dev:393 2021-09-17 06:00:01.257 info Hallen Bord switch is on
dev:402 021-09-17 06:00:00.732 debug Executing 'setFanRate' with 5
app:8 2021-09-17 06:00:00.251 info Mode set to Hemma from Natt
App 8 is Mode Manager
In Smartthings the logs was more specific. "light was turned on by smartapp", "light was turned on because mode changed" etc. Is there anything like that in Hubitat, hidden out of plain sight? Or any database of something.
There's no way to see what app did it unless the app itself provides logging with that information. One other thing you might want to check: are any of them integrated with Alexa or Google Home? If so, there's another place to check for automations you might have--and for the relatively new "Hunches" feature on Alexa (and I think something similar on Google Home) that might be performing "automations" for you without you knowing.
None of the lights has any automation tied to sunrise or sunset. Two of them is in a rule that turns them on if mode changes from away to home after sunset. But according to the logs that rule hasn't triggered. It shouldn't anyway since mode changed from night to home. The other two lights isn't in that rule.
Some days ago I tested to change mode to night during the day (some hours after sunrise) and then back to home and then the lights turned on. When I tried to do it again to troubleshoot nothing happened.
A crappy light fixture can exasperate voltage drops from your power company. Some bulbs will default to on if they sense the power went out. I had three Eria bulbs that did this in a bathroom light fixture. I moved them to some lamps and replaced them with Sengleds. Bathroom lights coming on in the middle of the night was fixed, I eventually moved the Eria bulbs to the round file.
Update:
Seems like I fixed it. I found a custom HSM rule where these lights were supposed to flash when smoke was detected. I don't know why, but that seems to have triggered the lights on mode change, but without the flashing. I deleted the rule and made a new copy and now my lights don't turn on by them self in the morning! Success! Thank you for your help!