Add support for TR2503R004-01 hardware (TYPE2 protocol)
Fixes #32.
Some newer 2025 hardware batches report the model string R004-01 (which the integration maps to the TYPE1 command set) but actually speak the TYPE2 protocol. The integration would pair and show the entity, but on/off (and colour) commands were ignored by the light.
This was confirmed by decrypting a btsnoop capture from the official iDealLed app: the device responds to the TYPE2 TURN (on/off) and SGLS (colour) commands, using the same AES key as before.
Changes
- Added a
FIRMWARE_OVERRIDEtable (const.py) matched as a prefix against the full firmware version string, checked before the model lookup.TR2503R004-01is now forced to TYPE2. - Older genuine TYPE1
R004-01devices are unaffected, as the override matches the full firmware string, not the short model number.
If your device reports as ISP-*/IDL-* with an R004-01 model and on/off does nothing, update to this release and re-add the device if needed. If it still doesn't work, please open an issue with a btsnoop capture.