How do I say Google Home to Change fan Mode for Xiaomi Air Purifier

Hi, I am anewbie to HA
Based on the HA Documentation. I was successfully able to add my Xiaomi Air Purifier into HA UI

Also, I am able to Change the modes of the Xiaomi Air Purifier in HA UI using Inpuy Select & automation for each Input Select. (Working Great)

Question:

  1. How do I control the Xiaomi Air Purifier Modes using Voice command thru google Home?
    a. I am Able to Turn ON & OFF Xiaomi Air Purifier using the Phrase " Hey Google, Turn ON/OFF my Xiaomi Air Purifier"

But When i say “Hey Google, change mode to Auto/Faourite/Silent” Noting happens.

How do I control the Modes Xiaomi Air Purifier Modes using Voice command thru google Home?

Please help

Input_select is not a supported domain:

The way around this would be to create a set of input_boolean that you can turn on and off via GH. You’d then need an automation that turns off all other input_boolean when one is turned on

You can create a script and expose that script.
You can then configure the home so that when you say your keywords it is basically saying turn on script

1 Like

Thanks for the info
Can you please elaborate or send me links to sample on how to work on ot

Thanks in advance.

I personally went the input_boolean way. You can check my config here:

1 Like

The Google assistant link above says you can expose scrips.
You can then say ‘hey Google, turn on (script*friendly name here)’

You can then set a shortcut in Google home to replace that saying with something like ‘Hey Google, change mode to Auto’

The input boolean way is an extra middle step

1 Like

Thanks a lot
Was able to setup with Input boolean
Works Great

1 Like

Hi, does anyone know if the Xiaomi Mi Air Purifier PRO is compatible with Google Home? After linking Mi Home account with Google Home it doesn’t appear… . Thanks in advance!

1 Like

R u using it with Home assitant?

Hi, sorry, I’m new to this, I though this was a forum for the Google Home app, so no, I’m not using HA, I just notice this is an entirely different app, so, if I use HA I will be able to connect Xiaomi Mi Air Purifier Pro to Google Home? Thanks again!