I am struggeling thith the follwing. I want turn on a light when the temperatarure of the HA weather app is above the temperature I defined with a helper.
Name of the helper is ‘input_number.pl005_temperature_input’
The only condition si that, for the automation to work I have to put ‘on’ a bolean switch: input_boolean.ppl_005_startfrom_tempssensor_help_toggle_001
I doesn’t seem to work, althoug in developper Tools it seems to give results.
how shoud you adapt the code if you want to dismiss the trigger.
I mean If I put my bolean switch to ‘on’ and the temperature is higher then my input.number then it should start right away.
This will trigger if the input_boolean is OFF and then turned ON.
Note: The automation above defeats the purpose of an automation. An automation should manages itself - turns ON when temperature higher than your input boolean and turns OFF when temperature is lower than your input boolean.
You can use both things as triggers and also both things as conditions (and).
That way if the boolean is off when the temperature requirement is met and you then turn on the boolean the automation will trigger. Ang if the boolean is already on and the temperature requirement gets met the automation will also trigger then too.