From 0f06ef3f194710dc89a8bf6ba9b6b6add450e84e Mon Sep 17 00:00:00 2001 From: Joost Loohuis Date: Mon, 2 Sep 2024 16:18:26 +0200 Subject: [PATCH] Fix fan_speed_percent default step --- drivers/fan/driver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fan/driver.ts b/drivers/fan/driver.ts index f28d9af8..5d9d8637 100644 --- a/drivers/fan/driver.ts +++ b/drivers/fan/driver.ts @@ -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, }; }