adding radio button option to ring virtual fire alarm

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

@ -8,7 +8,21 @@
], ],
"features": { "features": {
"buzz": { "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> <Name>Control buzzer</Name>
<Description>Control buzzer on Virtual Firealarm</Description> <Description>Control buzzer on Virtual Firealarm</Description>
<Operation context="/virtual_firealarm/device/{deviceId}/buzz" method="POST"> <Operation context="/virtual_firealarm/device/{deviceId}/buzz" method="POST">
<FormParameters>
<Parameter>state</Parameter>
</FormParameters>
</Operation> </Operation>
</Feature> </Feature>
</Features> </Features>

@ -23,9 +23,6 @@
<Name>Control buzzer</Name> <Name>Control buzzer</Name>
<Description>Control buzzer on Virtual Firealarm</Description> <Description>Control buzzer on Virtual Firealarm</Description>
<Operation context="/virtual_firealarm/device/{deviceId}/buzz" method="POST"> <Operation context="/virtual_firealarm/device/{deviceId}/buzz" method="POST">
<FormParameters>
<Parameter>state</Parameter>
</FormParameters>
</Operation> </Operation>
</Feature> </Feature>
</Features> </Features>

Loading…
Cancel
Save