mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Always use a step size of 1 for z-wave js fans (#59622)
This commit is contained in:
parent
8b6b4d7f8a
commit
435e1fb092
@ -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…
x
Reference in New Issue
Block a user