homebridge-miot icon indicating copy to clipboard operation
homebridge-miot copied to clipboard

Help! I want to modify mode buttons on my fan

Open pb29 opened this issue 2 years ago • 1 comments

my circulator got four modes. direct, natural, smart, sleep. And if i able mode buttons on plugin settings via homebridge ui x, it displays four switches on homekit. i want to make it displays only natural mode switch and it should be toggle switch between only direct and natural. How can i manage to change these?

pb29 avatar Oct 03 '22 16:10 pb29

Hi, a similar issue has already been discussed here: https://github.com/merdok/homebridge-miot/issues/337 This is not possible directly currently since a switch can only display two states, what would you do with the intermediate states? Nevertheless, you can at least reduce the numer of switches to only those which you really need. Have a look a propertyControl to accomplish that.

merdok avatar Oct 03 '22 19:10 merdok