Support different firmware versions #3399
Closed
mortenmoulder
started this conversation in
General
Replies: 1 comment
-
I got it working, but it's not that pretty: https://github.com/zigpy/zha-device-handlers/blob/367ea106f3b9b61b0c79a1cae0807b5d431094d0/zhaquirks/smarthjemmet/quadzigsw.py |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've made a custom quirk for one of my devices, that I am looking to implement in ZHA. The device has recently been modified heavily in the firmware, so it matches the Zigbee standard a bit better. My device doesn't support OTA, so I need to be able to achieve the same using already existing devices on the old firmware. I thought about looking at the date_code, but by investigating, I need to call those async, and I'm not sure if that's possible with the signature.
I'm guessing I need to have two signatures and one replacement, but the documentation doesn't help me much, and neither does existing quirks. Any help is greatly appreciated!
My custom device:
Old firmware signature:
New firmware signature:
Beta Was this translation helpful? Give feedback.
All reactions