FlyingDiver wrote:On the other hand, the sample script posted above needs to have ONE of the last two lines uncommented to work.
outside_temp = indigo.devices[209400252].states['sensorValue']
inside_temp = indigo.devices[1450104654].states['sensorValue']
indigo.variable.updateValue(1234567, value=unicode(outside_temp < inside_temp))
outside_temp < inside_temp
return (outside_temp < inside_temp)
Users browsing this forum: No registered users and 10 guests