Skip to content

Commit

Permalink
Fixed error in Fan characteristic setting
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-cam committed May 19, 2023
1 parent ad1200d commit e7fd646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessories/fan.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class FanAccessory extends SwitchAccessory {
});

// Add HAP properties for improved accessory representation in Homekit
this.getCharacteristic(Characteristic.RotationSpeed).setProps({
this.serviceManager.getCharacteristic(Characteristic.RotationSpeed).setProps({
minStep: config.stepSize,
minValue: 0,
maxValue: 100
Expand Down

0 comments on commit e7fd646

Please sign in to comment.