dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Make DDF manufacturer name matching case insensitive #7864

Closed manup closed 1 month ago

manup commented 1 month ago

This fixes a regression from v2.27.0-beta. A DDF should match a manufacturer name regardless if it is given as "HEIMAN", "Heiman", "heiman", etc.

Note this applies only to plain ASCII strings. For manufacturer names which contain multi-byte UTF-8 characters the DDF must have the exact name representation. This should by fine for 99% of all cases.