hoffmation-base 2.18.1 → 2.18.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,8 @@ class Devices {
131
131
  }
132
132
  static processZigbeeDevice(cDevConf) {
133
133
  const zigbeeInfo = new IoBrokerDeviceInfo_1.IoBrokerDeviceInfo(cDevConf);
134
- const fullName = `${Devices.IDENTIFIER_ZIGBEE}-${zigbeeInfo.devID}`;
134
+ const apiDevId = zigbeeInfo.devID.startsWith('0x') ? zigbeeInfo.devID.substring(2) : zigbeeInfo.devID;
135
+ const fullName = `${Devices.IDENTIFIER_ZIGBEE}-${apiDevId}`;
135
136
  zigbeeInfo.allDevicesKey = fullName;
136
137
  if (typeof Devices.alLDevices[fullName] !== 'undefined') {
137
138
  return;