diff --git a/accessories/fan.js b/accessories/fan.js index 8b200bae..e4e76ad3 100644 --- a/accessories/fan.js +++ b/accessories/fan.js @@ -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