YinHangCode / homebridge-mi-airpurifier

XiaoMi air purifier plugins for HomeBridge.
114 stars 34 forks source link

suggestion: LED Light expose as switch instead of light #17

Open ersan opened 6 years ago

ersan commented 6 years ago

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.

MickL commented 5 years ago

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

ersan commented 5 years ago

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

        "ledBulbDisable": true,
        "ledBulbName": "MiAirPurifier LED Switch",
MickL commented 5 years ago

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.