Skip to content

Commit

Permalink
Update Light.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaauw committed Aug 21, 2024
1 parent 27b3c4e commit db7c065
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/DeconzAccessory/Light.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ class Light extends DeconzAccessory {
})
}
} else {
this.warn('servicesByServiceName: %j', Object.keys(this.servicesByServiceName))
this.warn('servicesByServiceName[%s]: %j', this.values.serviceName, Object.keys(this.servicesByServiceName[this.values.serviceName]))
this.debug('servicesByServiceName: %j', Object.keys(this.servicesByServiceName))
this.debug('servicesByServiceName[%s]: %j', this.values.serviceName, Object.keys(this.servicesByServiceName[this.values.serviceName]))
for (const i in this.servicesByServiceName[this.values.serviceName]) {
try {
const service = this.servicesByServiceName[this.values.serviceName][i]
this.warn('service %d: %j', i, service.rpath)
this.debug('service %d: %j', i, service.rpath)
service.addCharacteristicDelegate({
key: 'index',
Characteristic: this.Characteristics.hap.ServiceLabelIndex,
Expand Down

0 comments on commit db7c065

Please sign in to comment.