Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fan slider won't go to 100% #301

Open
4 tasks done
EAuckland opened this issue Jun 7, 2024 · 7 comments
Open
4 tasks done

Fan slider won't go to 100% #301

EAuckland opened this issue Jun 7, 2024 · 7 comments

Comments

@EAuckland
Copy link

My Home Assistant version: 2024.6.0

My lovelace configuration method (GUI or yaml): Both

What I am doing: Controlling Ceiling Fan

What I expected to happen: Set speed to high or 100%

What happened instead: Slider only goes to 66.6666666%

Minimal steps to reproduce: Attempt to adjust fan slider to high

# The least ammount of code possible to reproduce my error
N/A
# End of code

Error messages from the browser console: N/A


By putting an X in the boxes ([X]) below, I indicate that I:

  • Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • Have made sure I am using the latest version of the plugin.
  • Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.
@miberecz
Copy link

miberecz commented Jun 7, 2024

I have the same issue:

image
No matter what I do the slider stops at 66%

@thomasloven
Copy link
Owner

What settings does the fan have?

@EAuckland
Copy link
Author

I have several. Some have three speeds that show on the slider as 33.33333333 and 66.66666666 and won't do high. I also have a could that have six speeds and the slider will only go to 83.33333. when you click on them home assistant will show all speeds and let select all, even high. Seems to only be an issue with the slider.

@miberecz
Copy link

miberecz commented Jun 8, 2024

My fan is an Ikea air purifier with 3 steps and and off state:
image
image

@EAuckland
Copy link
Author

Just wanted to touch base on this issue.

@chrisgilldc
Copy link

Touching base on this as well. I've had this issue for a while and it's always been an annoyance but would love to see it fixed.

@jasoncodes
Copy link

jasoncodes commented Sep 22, 2024

There appears to be a rounding error somewhere. I suspect it may affect any fans where the percentage_step has a recurring decimal.

I’ve worked around this by setting max: 100.001. Any values slightly higher than 100 seems to work with no obvious side-effects. I’ve also tried step: 33 and step: 16.5 for my 3 and 6 speed fans respectively. This seems to work fine too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants