Ok … never mind! I took it all out, added it again and it’s working fine!
I’m having the same issue, I’m returning it to Amazon.
With the custom quirk installed, I haven’t seen the issue arise again. Here’s looking forward to zha gaining that quirk and exposing the cluster as an easy toggle in the UI.
Thanks for this! I’ve just added my first quirk to HA too (hopefully! )
I’ve managed to swap the value over, and it seems to be staying on ‘1’ so now just have to wait and see if that works over the next week or so.
Edit (2 weeks later): All seems to be working properly now, no further random switch-ons!
Seems to have done the trick for me, thanks for suggesting this!
This is interesting. For me, it doesn’t have issues if I use the Aqara Hub, even with the power-on behavior set to off
!
I even used the Aqara App to adjust the power-on behavior to on
before adding it back into HA, but I still had the issue
Will have to attempt this
Have applied this quirk a couple of days now and it seems to be working!
Thanks!
Curious to see if the opposite is now true; that it will turn off when it “restarts” while the light is turned on. But even if it that is the case it is far less annoying than the light turning on when it was off.
What’s the verdict on this quirk? Is it working for most people? Currently running a script to turn off every 5 minutes during daylight hours. I seem to have failed to install the quirk even though I copied the code. Will have another go later if it’s working.
I migrated from ZHA to Z2M this weekend, as of since the randomly turning on of the T1M has gone.
Looks like it’s an ZHA problem.
Yes, I installed the quirk and reloaded, then set the setting on the lights and haven’t had an issue with them coming on unwanted since.
Without using the updated quirk, and instead using the aqara home app to set the power recovery setting before pairing to ZHA, the light will still randomly restart during the day while on. I still consider the restarting a problem/bug.
Does the quirk fix this or does it just allow it to return to its previous state and doesn’t fix the restarting?
Guy’s I can’t get this quirk to load. Can someone smart check me?
I copied the code here
And created a subdirectory in the same location as my configuration.yaml, called zha_quirks, and in there made a file called aqaralightfudge.py and pasted the code in. Rebooted. It’s not showing as a quirk loaded in the zigbee device info however.
Any clues? Thanks in advance.
Good point, but yea I did. I think I have it loading. I think there were two files in that github link and I had copied the wrong one. The right one seems to be here if anyone else is confused:
Hey guys. Can someone help me? This is driving me nuts.
Everyone says that this quirk fixes the issue with this light turning itself on randomly, but mine still is. The quirk shows that it’s loaded.
Can someone confirm that I’m loading the right .py file?
Is there something else that I might be doing wrong? Or could there be geo differences in the light model (I’m in Australia). Or could I have the wrong firmware maybe?
I have ZHA and a pretty new T1M, no issues so far…