"comparison" mis-spelt in Vera's Event Descriptor blocks in D_MotionSensor1.xml

@MCV, In the Event descriptor blocks, in Device files like [tt]D_MotionSensor1.xml[/tt], [tt]comparison[/tt] is spelt as “[tt]comparisson[/tt]” (double-“s”)

eg.

[tt] "argument_1" : { "dataType": "boolean", "defaultValue": "", "allowedValueList" : { "Yes" : "1", "No" : "0" }, "name": "Tripped", "[b]comparisson[/b]": "=", "prefix": "Tripped?", "suffix": "" } [/tt]

I don’t think this was intentional, but suspect anyone who spells it correctly will get a little surprise… :slight_smile:

Appears that way in Wiki as well:

http://wiki.micasaverde.com/index.php/Special:Search?search=comparisson&go=Go

I just noticed this too… does it have to be misspelt to work?
SK

[quote=“woodsby, post:3, topic:164899”]I just noticed this too… does it have to be misspelt to work?
SK[/quote]

Yes, the C++ code looks for a “comparisson” field… :-[

Prof. Karasuda does not aprove :slight_smile: (he was my C++ teacher in college and we used to say that ;D)