adding radio button option to ring virtual fire alarm

revert-dabc3590
lasantha 7 years ago
parent 59f6fced7a
commit 22561272c9

@ -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"
},
{
"type": "radio",
"id": "buz_off",
"label": "Buzzer Off",
"name": "state"
}
]
}
}
}

@ -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>

@ -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>

Loading…
Cancel
Save