Always use a step size of 1 for z-wave js fans (#59622)

This commit is contained in:
Michael Kowalchuk 2021-11-13 04:00:36 -08:00 committed by Paulus Schoutsen
parent e7aa90a5b1
commit 7042fdb145

View File

@ -103,6 +103,11 @@ class ZwaveFan(ZWaveBaseEntity, FanEntity):
return None
return ranged_value_to_percentage(SPEED_RANGE, self.info.primary_value.value)
@property
def percentage_step(self) -> float:
"""Return the step size for percentage."""
return 1
@property
def speed_count(self) -> int:
"""Return the number of speeds the fan supports."""