I have defined several events (in eventList2) in particular these 2 ones:
{
"id": 3,
"label": {
"lang_tag": "panic_state",
"text": "Panic state"
},
"serviceId": "urn:upnp-org:serviceId:SecurityRemote1",
"argumentList": [
{
"id": 1,
"dataType": "boolean",
"defaultValue": "0",
"allowedValueList": [
{
"End panic": "0",
"HumanFriendlyText": {
"lang_tag": "is_end_panic",
"text": "End of panic state for _DEVICE_NAME_"
}
},
{
"Panic": "1",
"HumanFriendlyText": {
"lang_tag": "is_panic",
"text": "Panic state for _DEVICE_NAME_"
}
}
],
"name": "PanicStatus",
"comparisson": "=",
"prefix": {
"lang_tag": "which_panic_state",
"text": "Which panic state"
},
"suffix": {}
}
]
},
{
"id": 5,
"label": {
"lang_tag": "a_device_is_turned_on_off",
"text": "A device is turned on or off"
},
"serviceId": "urn:upnp-org:serviceId:SwitchPower1",
"argumentList": [
{
"id": 1,
"dataType": "boolean",
"defaultValue": "1",
"allowedValueList": [
{
"Off": "0",
"HumanFriendlyText": {
"lang_tag": "hft_device_turned_off",
"text": "_DEVICE_NAME_ is turned off"
}
},
{
"On": "1",
"HumanFriendlyText": {
"lang_tag": "hft_device_turned_on",
"text": "_DEVICE_NAME_ is turned on"
}
}
],
"name": "Status",
"comparisson": "=",
"prefix": {
"lang_tag": "which_mode",
"text": "Which mode"
},
"suffix": {}
}
]
}
The second one is just a copy of an event from the binary light device. The first one is a copy of the second one I have adjusted for my own need.
The problem: when I create a new scene and add a new trigger, all the events are correctly listed but when I select the third (Panic state), the next fields are not displayed. The fifth event works perfectly.
So what’s wrong in my event definition ?
Here is the definition of the static variable:
<stateVariable sendEvents="yes" allowRepeats="yes">
<name>PanicStatus</name>
<dataType>boolean</dataType>
<defaultValue>0</defaultValue>
</stateVariable>