SonoffLAN
SonoffLAN copied to clipboard
Fan presets should not be used for speeds
Currently, Ifan entities have presets used for speeds (low, medium, high). While there is working speed control via fan speed percentage slider.
Actual use case for presets is for modes (like Auto or Breeze) not for fan speeds.
Presets should not be used for fan speeds as this is unnecessary and against HA design.
Some users asked me to add presets. They not break anything. Sonoff devices don't have real presets. So I don't see any problem here.
Can it at least be made optional via config? It clutters up homekit integration with unnecessary switches for each fan speed preset
Can you please link me to the issue where someone requested fan speeds to be shown as presets? I am unable to find it
Issue was accidentally deleted. I'll add a setting when have some free time
This is still an on going issue. Can we get this bumped up a bit?
Config will be:
devices:
1000xxxxxx:
preset_mode: False
https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.6.0
Thank you for adding this but it didn't fix the real issue. When I add my ifan04 to Homekit it still shows up with 4 extra switches along with the speed slider. We would like it to only show up in Homekit with a speed selector.
Can you see modes switch in the Hass GUI with this option?
It looks correct in HA. It removed the preset modes as expected. But in HomeKit it still looks like this.
The goal was to only have the fan speed slider without the extra switches.
Check latest master version
I downloaded the master version and it got rid of the extra homekit entities but now Home Assistant never thinks the fan is "on". if I use the speed control in home assistant it will turn the fan on but not show as on or show what speed it's set to. Also, Homekit should snap to 33% 66% and 100% on the speed slider.
Don't think I have time to research HomeKit integration and this strange behaviour.