lovelace-mushroom icon indicating copy to clipboard operation
lovelace-mushroom copied to clipboard

An air purifier card from the fan card

Open fantnhu opened this issue 2 years ago • 5 comments

Hi again! Your work is getting more and more wonderful, thank you very much :)

Is your feature request related to a problem? Please describe. I use an air purifier (Xiaomi) with a doman: fan. I can turn it on with the fan card, it works. The icon also spins :) Unfortunately, I can't control it because it doesn't support "percentage" service.

Describe the solution you'd like To set the speed, these devices use "number" instead of "percentage". For example: number.mi_air_purifier_2s_favorite_level The speed can be adjusted from 1 to 17.

Describe alternatives you've considered The fan card is amazing, I really like it. Can you make an air purifier card out of it? The fund can stay the same because it is very good. Possibly with collapsible options (like climate card) where it prints info: for example: air quality PM2.5, filter change ...

Additional context Thank you very much in advance, your work is my favorite! :) image

fantnhu avatar Apr 18 '22 11:04 fantnhu

Mushroom card only support one entity. It's not plan to add multiple entity support to keep it simple for now.

Do you known why your fan does not support percentage control? Maybe it's better to fix the integration by bringing percentage support.

piitaya avatar Apr 19 '22 19:04 piitaya

Mushroom card only support one entity. It's not plan to add multiple entity support to keep it simple for now.

Do you known why your fan does not support percentage control? Maybe it's better to fix the integration by bringing percentage support.

Hi! Integration used to work at a percentage rate. Xiaomi Miio integration has been rewritten, it no longer supports this service. I don't know why, there are a lot of forums about it. This new “number.” Statement also only works if I first switch the fan mode to “Favorite” mode. (Cannot be set in Auto, Silent, Idle mode) I know all Xiaomi air purifiers work this way now. Do you have any ideas for this? Is it worth dealing with? Thank you :) image image

fantnhu avatar Apr 20 '22 04:04 fantnhu

Hi all,

having same thing with Purifier 2H over Xiaomi Miio integration. image

scetu avatar May 02 '22 08:05 scetu

Home Assistant provide 3 entities : switch, input_number and fan. You need 3 cards to manage it.

piitaya avatar May 02 '22 08:05 piitaya

I feel like this could be fixed with a template fan, to merge the entities together.

KTibow avatar Jul 01 '22 18:07 KTibow