hey,
I’m newbie and have a problem or rather no idea how I can start my pool pump when the temperature is 0° or below.
my idea is to run the pump for 5 mins when target temperature is reached and then pause for 1 hour.
this scene? or automation? should automatically be active on target temperature…
I will get the temperature form a outside lightsensor …
can someone help me that would be really nice
thanks !
add a condition to the automation to check the temperature for less than 0.
then use a “repeat-until” action that does the above action (turn on, wait 5 minutes, turn off, delay one hour) until the temp goes above 0.
But because the automation is prone to failure on HA restart (or if you reload the automation) then you need to add those two events as triggers.
then the automation will trigger on the temp going below 0 or HA restart or automations reloaded, it will then check the temp is below 0 and then start running the actions until temp goes above 0.
I think I’ve captured all of the things needed to make this reliable.
but I’ve still one question … when I enable this new entity … when will this trigger run? only when I press “run actions”? or when the I press on enable this entity?
First off if you don’t either hit the reply button in my post or tag me (using @finity) then I don’t get notified that you replied to me. I just eventually see it in my list of unread but followed posts.
I’m not sure what new entity you are referring to.
the automation entity? or something else?
The automation will run automatically when the trigger transitions from false to true.
You don’t need to run the automation manually (it wouldn’t be much of an “automation” if you had to run it manually )
All automations are enabled by default on creation.
unless you disable it manually it will be enabled.
Unless I’m still not understanding what you mean by “this entity”.
the automation won’t trigger if the trigger is already true when you create the automation. it will only trigger if the trigger is goes to false and then becomes true. Then it checks the conditions at that instant and if they are all true then the actions will run.
I assume you should just be able to type in -2 into the above or below field and I think it should work.
is there a reason why you say it doesn’t accept that value?
And the last point is that all of of this is hypothetical since I haven’t actually seen the code of the automation.