diff --git a/src/accessories/hubspace-accessory.ts b/src/accessories/hubspace-accessory.ts index 9aa3175..7b2fac1 100644 --- a/src/accessories/hubspace-accessory.ts +++ b/src/accessories/hubspace-accessory.ts @@ -45,6 +45,12 @@ export abstract class HubspaceAccessory{ this.log = platform.log; this.deviceService = platform.deviceService; this.device = accessory.context.device; + + this.accessory.getService(this.platform.Service.AccessoryInformation)! + .setCharacteristic(this.platform.Characteristic.Manufacturer, this.device.manufacturer ?? 'N/A') + .setCharacteristic(this.platform.Characteristic.Model, this.device.model.length > 0 ? this.device.model[0] : 'N/A') + .setCharacteristic(this.platform.Characteristic.SerialNumber, this.device.deviceId ?? 'N/A'); + } /**