hmmm the script that you post purifier_mode_change & purifier_mode_changed seem to be same. Both call on to same service.
action:
service: input_select.select_option
there is no call to the airpurifier. When I get home i’ll look back at the old setting and see if I can edit it to your setting. From what I see the “set.speed” is change to “set.preset_mode” and the favorite level is totally changed.
Following last update I do not see the favorite level anymore amongst the State attributes. I’m using a Xiaomi Air Purifier 2S (state attribute: model: zhimi.airpurifier.mc1). Anyone else solved this issue?
Hi everybody,
First of all, I want to thank you for taking your time to me.
Above all, I want thank @paddy0174 for sacrificing your rest for my incompetence.
I’ve tried the two modified automations (the first by @paddy0174 and the second by @huu) and, unfortunately, in the first scenario (@paddy0174 's suggestion) I’ve found some errors in my logs.
The automations written by @huu, on the other hand, do not cause errors.
Therefore I will try for some time to keep this last configuration.
I still have to try the new template suggested by @huu by removing “input_select.air_purifier_mode”.
For anyone who like a compact view for mobile, only show all entities when the airpurifier is on. Here is an idea for a Lovelace conditional card (Use text ‘search and replace’ to replace all instance off “zhimi_airpurifier_mc1” to your device name - assuming keeping naming consistent). Just add card → show code editor and paste this in. Two entity that also need edit is select.air_purifier_mode (your select mode) and number.zhimi_airpurifier_mc1_favorite_level (your select fav level).
I have completely removed everything from my configuration files for my two Xiaomi air purifiers. They are models “zhimi.airpurifier.mc1” and “zhimi.airpurifier.mb3”.
But in the HA integration, only “zhimi.airpurifier.mc1” automatically appeared to me, the other one “zhimi.airpurifier.mb3” is not visible.
Do I need to configure anything further to see the other one as well?
Also, the switch for modes and fan speed settings did not appear in the device tab. What to do?
Hi all,
I’m using the “Pro H” and could connect it as “mb3” ( zhimi.airpurifier.mb3).
All Sensors and switches seem to show up, but:
The only switch, that seems not to exist is the general “power” switch.
That means, I can switch it on by increasing fan speed to 1-3. But cannot switch it off, again.
And the “Operation modes (Auto, Silent, Favorite, Fan)” are also missing.
Anyone else had that or can give me some direction?
My xiaomi air purifier pro H identifies as a fan (fan.xiaomi_miio_device). Therefore the “power” button is incorporated in the fan control. Hope that helps…