I have a fan controlled by a switch through the TUYA integration. It is triggering on and off by something and I can’t find what is triggering it. I get this:
Utility Closet Fan Switch turned on triggered by action Home Assistant Core Integration: Generic turn on
There are no automations being triggered. Where do I look for this trigger Home Assistant Core Integration: Generic turn on?.
Mine also turned out to be a generic thermostat I had created, turning on my switch. It should have a more clear logbook message when it controls switches. Took me hours to figure it out