[ANSWERED]If temperature is less than variable
Posted: Fri May 23, 2014 3:55 pm
Hi,
I've got four Fibaro motion sensors which report the temperature status to Indigo.
I want a condition that says 'if temperature is less than variable xyz', which I have implemented as follows:
Those variables are called DesiredTempLounge etc.
Should this work - should the variable substitution work in a comparison text field?
I ask because the UI won't let me move focus away from the textfield when I type the variable substation in - I suspect it is wanting an integer value for the 'less than' comparison; but if I click ok then it doesn't actually throw an error.
On the same topic, you can already create a comparison 'if variable_x is less than variable_y' in the UI - is it possible to add the same UI for 'if device_status is less than variable_x' please?
Peter
I've got four Fibaro motion sensors which report the temperature status to Indigo.
I want a condition that says 'if temperature is less than variable xyz', which I have implemented as follows:
- Code: Select all
"All" "of the following rules are true"
"If variable" HeatingScheduled "is true"
"Any" "of the following rules are true"
"If device" "Temp Lounge" "Sensor Value" "is less than" "%%v:1835835769%%"
"If device" "Temp Study" "Sensor Value" "is less than" "%%v:1100434226%%"
"If device" "Temp Landing" "Sensor Value" "is less than" "%%v:1868204994%%"
Those variables are called DesiredTempLounge etc.
Should this work - should the variable substitution work in a comparison text field?
I ask because the UI won't let me move focus away from the textfield when I type the variable substation in - I suspect it is wanting an integer value for the 'less than' comparison; but if I click ok then it doesn't actually throw an error.
On the same topic, you can already create a comparison 'if variable_x is less than variable_y' in the UI - is it possible to add the same UI for 'if device_status is less than variable_x' please?
Peter