@ -8,7 +8,21 @@
],
"features": {
"buzz": {
"icon" : "fw-dial-up"
"icon" : "fw-dial-up",
"formParams": [
{
"type": "radio",
"id": "buz_on",
"label": "Buzzer On",
"name": "state"
},
"id": "buz_off",
"label": "Buzzer Off",
}
]
@ -23,9 +23,6 @@
<Name>Control buzzer</Name>
<Description>Control buzzer on Virtual Firealarm</Description>
<Operation context="/virtual_firealarm/device/{deviceId}/buzz" method="POST">
<FormParameters>
<Parameter>state</Parameter>
</FormParameters>
</Operation>
</Feature>
</Features>