ckeyes888 wrote:
- Code: Select all
Trigger Integer Fix Temp Out Python
# Getting the integer value
intValue = wsTempOut.getValue(int) # 0 if it can't be converted
intValue = wsTempOut.getValue(int, default=10) # 10 if it can't be converted
indigo.variable.updateValue(1618693284, value=intValue)
Schedule Davis Wind Direction/Gust Text Set Variable (delayed action)
Schedule Integer Fix Temp Out Python
# Getting the integer value
intValue = wsTempOut.getValue(int) # 0 if it can't be converted
intValue = wsTempOut.getValue(int, default=10) # 10 if it can't be converted
indigo.variable.updateValue(1618693284, value=intValue) (delayed action)
Carl, I have to say that your code block totally confuses me. Is that what's showing up in the Event log? Why is there Python code showing up in the Event Log?