Skip to content

Commit

Permalink
testing issue 533
Browse files Browse the repository at this point in the history
  • Loading branch information
arachnetech committed Feb 26, 2022
1 parent 9e3d775 commit 6f14245
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion test2/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"sudo": false
}
],
"accessories": [
"disabledAccessories": [
{
"type": "outlet",
"name": "Test Outlet",
Expand Down Expand Up @@ -597,5 +597,31 @@
"history": true,
"accessory": "mqttthing"
}
],
"accessories": [
{
"accessory": "mqttthing",
"type": "lightbulb",
"url": "homebridge2",
"name": "Escalier",
"topics": {
"getOn": {
"topic": "test/Escalier",
"apply": "return JSON.parse(message).state_right"
},
"setOn": "test/Escalier/right/set",
"getOnline": {
"topic": "zigbee2mqtt/boutonentree2/availability",
"apply": "return message == 'online' ? 'ON' : 'OFF';"
}
},
"logMqtt": true,
"integerValue": false,
"onValue": "ON",
"offValue": "OFF",
"turnOffAfterms": "120000",
"onlineValue": "ON",
"offlineValue": "OFF"
}
]
}

0 comments on commit 6f14245

Please sign in to comment.