Skip to content

Commit

Permalink
Update P1Accessory.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaauw committed Mar 10, 2023
1 parent 6c725b3 commit b8c4b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/P1Accessory.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Electricity extends P1Accessory {
super(platform, name, data)
this.service = new P1Service.Electricity(this, data)
if (name === 'Electricity') {
this.manageLogLevel(this.service.characteristicDelegate('logLevel', true)
this.manageLogLevel(this.service.characteristicDelegate('logLevel'), true)
} else {
this.inheritLogLevel(platform.electricity)
}
Expand Down

0 comments on commit b8c4b9c

Please sign in to comment.