Skip to content

Commit

Permalink
Update HueLight.js
Browse files Browse the repository at this point in the history
Only issue log message for transition control when adaptive lighting is active, see #938.
  • Loading branch information
ebaauw committed Oct 1, 2021
1 parent 514eee0 commit a897281
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/HueLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -2157,10 +2157,12 @@ HueLight.prototype.getTransitionControl = function (callback) {
this.log.debug(
'%s: set homekit transition control to %j', this.name, control
)
this.log.info(
'%s: set homekit transition control to %j', this.name,
this.al.parseControl(control)
)
if (control !== '') {
this.log.info(
'%s: set homekit transition control to %j', this.name,
this.al.parseControl(control)
)
}
callback(null, control)
} catch (error) {
this.log.warn(
Expand Down

0 comments on commit a897281

Please sign in to comment.