You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some background, with firmware 0x24040011, IKEA introduced a new output cluster 3. (see #2418). So following what was written before, I added a new class and made my changes there. Seems to work, when I copy the file into custom_zha_quirks and reboot my HA, I see my devices showing my custom quirk where they did not show it before.
Seemed like things were fine, but then I removed a device that died, added a replacement one, let it update firmware to 0x24040011, and it now is showing as a Window_Covering device that supports both lift_percentage as well as tilt_percentage
The lift controls work 100%, the tilt control does not do anything, and if you attempt to use it, will generate an error.
What's strange is it is only on this new device, so to test, I removed another device, factory reset it, removed the battery for 1 minute, added it back in and now this one has tilt_percentage as well. So my question is, I looked over other people's quirks trying to figure it out, but I can't seem to figure it out, but how do I write my quirk to IGNORE attribute 0x0009? Also don't understand why the other classes in the file worked, but my version is somehow picking up attribute 0x0009. Is this the right way to do this?
Basically everything else is working, but I need the quirk to not pay attention to 0x0102,attribute.0x0009. Thoughts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My first attempt at improving a ZHA quirk. Very new, but wanted to try. Here's the original
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/ikea/blinds.py
My version is alvinchen1@3c4c7f9
Some background, with firmware 0x24040011, IKEA introduced a new output cluster 3. (see #2418). So following what was written before, I added a new class and made my changes there. Seems to work, when I copy the file into custom_zha_quirks and reboot my HA, I see my devices showing my custom quirk where they did not show it before.
Seemed like things were fine, but then I removed a device that died, added a replacement one, let it update firmware to 0x24040011, and it now is showing as a Window_Covering device that supports both lift_percentage as well as tilt_percentage
The lift controls work 100%, the tilt control does not do anything, and if you attempt to use it, will generate an error.
When I download diagnostics, I see:
What's strange is it is only on this new device, so to test, I removed another device, factory reset it, removed the battery for 1 minute, added it back in and now this one has tilt_percentage as well. So my question is, I looked over other people's quirks trying to figure it out, but I can't seem to figure it out, but how do I write my quirk to IGNORE attribute 0x0009? Also don't understand why the other classes in the file worked, but my version is somehow picking up attribute 0x0009. Is this the right way to do this?
Basically everything else is working, but I need the quirk to not pay attention to 0x0102,attribute.0x0009. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions