mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Fix setting speed of Tuya fan (#65155)
This commit is contained in:
parent
0755310258
commit
16db8e0802
@ -137,7 +137,7 @@ class TuyaFanEntity(TuyaEntity, FanEntity):
|
||||
[
|
||||
{
|
||||
"code": self._speed.dpcode,
|
||||
"value": self._speed.scale_value_back(percentage),
|
||||
"value": int(self._speed.remap_value_from(percentage, 0, 100)),
|
||||
}
|
||||
]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user