Announcement

Collapse
No announcement yet.

Questions about syntax for use of trigger in event

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Richel
    replied
    Originally posted by CFGuy View Post
    1. It is not case sensitive.
    2. Current version, the space would make a difference. While I was checking the code I went ahead and set it to ignore leading or trailing spaces. The next version released will have this change.
    3. It would only match on "partly cloudy". It would not match on "partly sunny and cloudy". It would match on "Sunny and partly cloudy"
    Thank you. This is helpful.

    Elliott

    Leave a comment:


  • CFGuy
    replied
    Originally posted by Richel View Post
    What I am trying to do is use the current condition for my location in an event. My questions:
    1) Is it case sensitive? For example, is "Rain" the same as "rain?"
    2) When using more than one condition, each is separated by a comma. Does a space after the comma make a difference?
    3) How would two words in a condition be handled, such as "partly cloudy?"
    Thanks,
    Elliott
    1. It is not case sensitive.
    2. Current version, the space would make a difference. While I was checking the code I went ahead and set it to ignore leading or trailing spaces. The next version released will have this change.
    3. It would only match on "partly cloudy". It would not match on "partly sunny and cloudy". It would match on "Sunny and partly cloudy"

    Leave a comment:


  • Richel
    started a topic Questions about syntax for use of trigger in event

    Questions about syntax for use of trigger in event

    What I am trying to do is use the current condition for my location in an event. My questions:
    1) Is it case sensitive? For example, is "Rain" the same as "rain?"
    2) When using more than one condition, each is separated by a comma. Does a space after the comma make a difference?
    3) How would two words in a condition be handled, such as "partly cloudy?"
    Thanks,
    Elliott
Working...
X