I am trying to activate a switch from the temperature of a sensor, I need the sensor to activate whenever a certain temperature reaches the target + 1 (I’m using input text to test).
I may be off base, but shouldn’t it be looking for states('input_text.temp_1') rather than input_text.temp_1? And, mathematically, isn’t above actually evaluating the state +1 + ? Wouldn’t it be just above the state rather than the state + 1 since above implies it’s greater than the current state?