toddmedema / echo

For controlling local devices with the Amazon Echo
207 stars 84 forks source link

if gate variables #5

Closed pcs3rd closed 1 year ago

pcs3rd commented 7 years ago

I would like to make a if gate but can't, I have made a if gate for if status == true,but I get a error no value set for status. I see this, is there a way to use the example -minimal.py script and have a value for true, I am very new tp monty the python and would like to use this as a switch for novnc and a couple of other programs

pcs3rd commented 7 years ago

and trying if state:

else:

doesn't work. it is complaining about state not being defined is there any way to right true/false to a new value called state?