Lights turning on and off randomly

Hi there, new to ZHA, migrating from Deconz

I have an Elelabs USB coordinator for ZHA.

I have migrated about 60% of my devices some 65 or so across to ZHA from Deconz.

I have some issues with lights randomly turning themselves on and off.

Two different Brands so not any particular model.

Any body have any ideas to point me in the right direction?

Do you have any automations where you have defined a to: state but not a from: state?

When a device becomes unavailable or drops off the network, it comes back again that would trigger an automation not using a from: state.

Well no but using the new AI powered Automation wizard it doesn’t use state it just uses device turned off.

I can go back and write my own automations.

Some of these lights don’t have any automations however.

This didn’t happen when I was on Deconz.