Isy Commands; If Expr; And Expr - Universal Devices ISY-994i User Manual

Home automation
Hide thumbs Also See for ISY-994i:
Table of Contents

Advertisement

10.5 ISY Commands

10.5.1
If expr ... Then body1 ... Else body2
Description: The 'If' command evaluates its expression. The 'Then' and 'Else' arguments
are key words to make the command easier to read. When the 'If' is true it will execute the
'Then' part of the program and when the 'If' is false it will execute the 'Else' part of the
program.
Category
Content
Sample Code:
If
Time is 6:00:00AM
Then
Set Scene 'Outside Lights' Off
Else
- No Actions - (To add one, press 'Action')
10.5.2
And expr ... Or expr
Description: These words are expression key words that logically group together
expressions. The 'And' requires both expressions to be a true result. The 'Or' requires only
one expression to be a true result. The two can be used more than one time to check many
different expressions.
Category
Content
Arguments
na
Arguments
na
Page | 208

Advertisement

Table of Contents
loading

Table of Contents