Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Bugfix @getHueForMilight(value) - incorrect method name -> @_getHueFo…
Browse files Browse the repository at this point in the history
…rMilight(value) (#70)
  • Loading branch information
SenTzu01 authored and michbeck100 committed May 5, 2017
1 parent 835caaa commit 494e172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessories/milight.coffee
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = (env) ->
@service.getCharacteristic(Characteristic.Hue)
.on 'set', (value, callback) =>
# value = 0 -> hue = 176
hue = @getHueForMilight(value)
hue = @_getHueForMilight(value)
if hue is @_hue
callback()
return
Expand Down

0 comments on commit 494e172

Please sign in to comment.