homebridge-mi-airpurifier icon indicating copy to clipboard operation
homebridge-mi-airpurifier copied to clipboard

suggestion: LED Light expose as switch instead of light

Open ersan opened this issue 5 years ago • 3 comments

With the LED light switch exposed as a light it will get grouped in commands such as "turn off all lights" - that's not the desired behavior for me, but I would like to add turning off the LED to routines. Could it be exposed as a switch instead of a light? Switches can be converted to Lights in the Home app if a user desires.

ersan avatar Jul 27 '18 18:07 ersan

I wonder where you have a light switch because i dont have any in Homekit for Air Purifier Pro

MickL avatar Jun 13 '19 21:06 MickL

I haven't used this plugin in a very long time, but:

        "ledBulbDisable": true,
        "ledBulbName": "MiAirPurifier LED Switch",

ersan avatar Jun 13 '19 21:06 ersan

Aw man thats awesome thanks! Didnt think it is disabled by default ...

I agree with you it is better as a switch. Also it should be part of main Air Purifier itself so we dont need an extra switch/light for that.

MickL avatar Jun 13 '19 22:06 MickL