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

Adding multiple dummy switches

Open LegendaryWiz opened this issue 5 years ago • 2 comments

Can I just aff multiple dummy switches by :

"accessories": [ { "accessory": "DummySwitch", "name": "My Switch 1" }, { "accessory": "DummySwitch", "name": "My Switch 2" }
]

or should I do it this way ?

"accessories": [ { "accessory": "DummySwitch", "name": "My Switch 1" "name": "My Switch 2" }
]

I'm afraid to try either without knowing the confirmed answer, for fear of breaking the entire Homebridge. Used to install a plugin previously using the first script but it broke the whole Homebridge ...

Thank you to anyone that can help .

LegendaryWiz avatar Sep 14 '19 16:09 LegendaryWiz

The first way is the correct way, I’ve used this in the past without problems. Good luck!

nfarina avatar Sep 15 '19 23:09 nfarina

Thank you very much!

LegendaryWiz avatar Sep 22 '19 05:09 LegendaryWiz