Have you seen this thread? WYZE Plugs and Ubiquiti Unifi issues
Looks like it might be what you are looking for.