Remie Posted April 9, 2018 Share Posted April 9, 2018 I tried to make a simple program that message me when motion, if I have chosen a bolean variable as true. But it sends the notification no mather what the variable is set to. Here is what the program look like. Ive made a variable named "out-of-house" --------- When office -> senses motion if variables -> out-of-house is true Send push notification ---------- Anyone with some tips for me? Link to comment Share on other sites More sharing options...
sonic30101 Posted April 9, 2018 Share Posted April 9, 2018 Put up a screenshot but you have to drag the command into the if statement so it indents and is nested into it Link to comment Share on other sites More sharing options...
Remie Posted April 9, 2018 Author Share Posted April 9, 2018 Thanks, just had to find out how to nest it. Link to comment Share on other sites More sharing options...
dcovach Posted April 9, 2018 Share Posted April 9, 2018 28 minutes ago, Remie said: I tried to make a simple program that message me when motion, if I have chosen a bolean variable as true. But it sends the notification no mather what the variable is set to. Here is what the program look like. Ive made a variable named "out-of-house" --------- When office -> senses motion if variables -> out-of-house is true Send push notification ---------- Anyone with some tips for me? You aren't showing if your programming has an indentation. Arrange it like this: When office -> senses motion if variables -> out-of-house is true Send push notification Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.