Skip to content

Commit

Permalink
Fix fan_speed_percent default step
Browse files Browse the repository at this point in the history
  • Loading branch information
JELoohuis committed Sep 2, 2024
1 parent 60ab15c commit 0f06ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/fan/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ module.exports = class TuyaOAuth2DriverFan extends TuyaOAuth2DriverWithLight {
props.capabilitiesOptions['dim'] = {
min: values.min ?? 1,
max: values.max ?? 100,
step: values.step ?? 0,
step: values.step ?? 1,
};
}

Expand Down

0 comments on commit 0f06ef3

Please sign in to comment.