Bug Fixes
- Service definition wouldn't be loaded dynamically when setting
serviceName
through dynamic configuration not when restoring a cached accessory withserviceName
set. This would cause the accessory not to be exposed, unless the service was already loaded because an existing / previously restored accessory uses it. In case of failure, a misleading warning message was issued: "warning: /lights/6: On/Off light: not yet supported lights type" (the message should list theserviceName
service, rather than the device type). The warning was then followed by a "TypeError: Cannot read properties of undefined (reading 'length')". See Discord.