homebridge-dummy
homebridge-dummy copied to clipboard
Adding multiple dummy switches
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 .
The first way is the correct way, I’ve used this in the past without problems. Good luck!
Thank you very much!