Bug fix wrong uniqueid
Bug fix wrong uniqueid

Create the correct `uniqueid` when loading sensor resources from the
database for:
- IKEA TRADFRI motion sensor;
- Xiaomi Mi smart cube.

dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin