Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Do I need parenthesis here?

Featured Replies

Posted

If

       Time is 12:00:00PM

    Or Time is  1:00:00PM

    Or Time is  2:00:00PM

   And Status  'Bathroom Sink Heater' is On



Then

       Set 'Bathroom Sink Heater' Off



Else

  - No Actions - (To add one, press 'Action')







If it is not clear, what I am trying to do is turn off the IR Sink Heater if it has been left on. I have the ISY looking at this three times a day. If it has been left on at any of these times I want the ISY to turn it off. Do I need Parentheses around the 'OR' arguments? I know that it will work with them there, but will it work without them there?

Hmmm, I had a program that was IF A and B or C or D and it apparently worked as I wanted it to which is IF A and (B or C or D) not (A and B) or C or D, but after reading this I went back and added the parenthesis around (B or C or D).

I'm wondering why it worked correctly without the parens.

I think you're right about that. I didn't exercise it through all conditions.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.