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

Purifier/Fan Speed/Mode not implemented correctly #13

Open
panhans opened this issue Jan 18, 2022 · 3 comments
Open

Purifier/Fan Speed/Mode not implemented correctly #13

panhans opened this issue Jan 18, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request priority medium This should be looked at after all higher issues and before lower

Comments

@panhans
Copy link

panhans commented Jan 18, 2022

Hi there,

using the card with my Xiaomi Purifier 3H.
I have noticed when changing the slider the mode of the purifier will set to mode fan instead of Favorite.
With mode fan the purifier provides only 3 different fanspeed presets. (33% / 66% / 100% ) and cant be adjusted stepless as assumed.
Didnt' found card options that could handle that behavior.

Greetings!

@AnthonMS
Copy link
Owner

If you can share some more information about the following, I will be able to implement that fan the next time I'm working on the card.

  1. What kind of entity is it?
  2. Which services can be called?
  3. What is it you want? I mean, the fan mode only provides the three steps, but does the Favorite mode provide stepless?

@AnthonMS
Copy link
Owner

AnthonMS commented Jul 2, 2022

I'm pretty sure this has been resolved. If not let me know. I might update the old slider as well to fix it.

@AnthonMS AnthonMS closed this as completed Jul 2, 2022
@panhans
Copy link
Author

panhans commented Jun 1, 2023

Oh, sry! I completly missed that!

  1. It's a fan entity

Service for setting mode

service: fan.set_preset_mode
data:
  preset_mode: Favorite
target:
  entity_id: fan.xiaomi_air_purifier_3h

Service for setting Fanspeed

service: fan.set_percentage
data:
  percentage: 44
target:
  entity_id: fan.xiaomi_air_purifier_3h
  1. Exactly: preset mode Fan provides 4 steps and preset mode Favorite let you set the speed stepless.

@AnthonMS AnthonMS reopened this Jun 1, 2023
@AnthonMS AnthonMS self-assigned this Jun 1, 2023
@AnthonMS AnthonMS added enhancement New feature or request priority medium This should be looked at after all higher issues and before lower labels Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority medium This should be looked at after all higher issues and before lower
Projects
None yet
Development

No branches or pull requests

2 participants