Merge pull request #745 from lasanthaDLPDS/master

Adding radio button option to Virtual Fire alarm control buzzer operation
revert-dabc3590
Madhawa Perera 8 years ago committed by GitHub
commit 155ee96558

@ -8,7 +8,23 @@
], ],
"features": { "features": {
"buzz": { "buzz": {
"icon" : "fw-dial-up" "icon" : "fw-dial-up",
"formParams": [
{
"type": "radio",
"id": "buz_on",
"label": "Buzzer On",
"name": "state",
"value":"ON"
},
{
"type": "radio",
"id": "buz_off",
"label": "Buzzer Off",
"name": "state",
"value":"OFF"
}
]
} }
} }
} }

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