Always use a step size of 1 for z-wave js fans (#59622)
This commit is contained in:
parent
8b6b4d7f8a
commit
435e1fb092
1 changed files with 5 additions and 0 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Reference in a new issue