Author Topic: "comparison" mis-spelt in Vera's Event Descriptor blocks in D_MotionSensor1.xml  (Read 3298 times)

Offline guessed

  • Master Member
  • *******
  • Posts: 5294
  • Karma: +90/-22
  • Release compat is not a bolted-on afterthought
@MCV, In the Event descriptor blocks, in Device files like D_MotionSensor1.xml, comparison is spelt as "comparisson" (double-"s")

eg.
Quote
         "argument_1" :
         {
            "dataType": "boolean",
            "defaultValue": "",
            "allowedValueList" :
            {
               "Yes" : "1",
               "No" : "0"
            },
            "name": "Tripped",
            "comparisson": "=",
            "prefix": "Tripped?",
            "suffix": ""
         }

I don't think this was intentional, but suspect anyone who spells it correctly will get a little surprise...  :)

Offline LibraSun

  • Hero Member
  • *****
  • Posts: 560
  • Karma: +2/-0
Vera Model I running UI4 (Firmware 1.1.1338), died in 2015
Vera Plus running UI7 (Firmware 1.7.2935)

Offline woodsby

  • Beta Testers
  • Sr. Member
  • *****
  • Posts: 466
  • Karma: +1/-0
I just noticed this too... does it have to be misspelt to work?
SK
Vera1 (1.1142), Vera2 (1.1182), VRI06 (12), VRS15 (3), VRS05 (2), VRF01 (2), VRCS4 (2), ZRW113, ZRF113 (2), 45602, 45603, TZMT400 (2), FE599 (2), 99100, Thinkstick, Harmony 890Pro (2), Harmony RF Extender, Nevo S70, Nevo NC-50, Minimote, SQ Remote, SQ Blaster, EtherRain-8, Cliste ActiveRFID, TED5002

guest4690

  • Guest
I just noticed this too... does it have to be misspelt to work?
SK

Yes, the C++ code looks for a "comparisson" field... :-[

Offline shady

  • Beta Testers
  • Hero Member
  • *****
  • Posts: 1324
  • Karma: +11/-0
  • This monkey knows his Window Coverings!
Prof. Karasuda does not aprove  :)   (he was my C++ teacher in college and we used to say that  ;D)
Vera3 1.5.346, Schlage (3)DB (2)Lever, Kwikset (1)Lever, RCS TZ43 Thermo, (2) Vizia RZI06-1LX 600W Dimmers, (17) Monster (Leviton) Dimmers (6) Monster (Leviton) IWC Scene Controllers (1) Etherrain-8, (3) HSM 100's (1)GE 3-Way set