Skip to content

Commit

Permalink
move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
steveredden committed Sep 13, 2021
1 parent fd25649 commit 6444826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ class KasaLightstripPlugin {

//Saturation = int
this.deviceService.getCharacteristic(Characteristic.Saturation)
.onSet(async (state) => {
.onSet(async (state) => {
//wait for .Hue handle updating the characteristic
this.tempSaturation = state;
//let .Hue handle updating the characteristic
}).onGet(async () => {
//do nothing; let .Hue handle the value
return this.saturation;
Expand Down

0 comments on commit 6444826

Please sign in to comment.