Hello everyone . I created some automations that by running the test test . Unfortunately, I do not understand why they are not tried or better executed.
I’m at my first experiences with HA, but I just can’t get these automations started. I am attaching an example of yaml code .
Forgive me, then in my yaml file that I posted, to indicate to HA that the fridge must be activated in this range from 48 to 60 as a value what do I have to change in the yaml file? Sorry but the automations incredibly confuse me!
The automation is correct, but since your battery is already between 48 and 60, it won’t trigger. It will only trigger until it goes below 48 or above 60 and then moves somewhere between 48 en 60 again.
Thank you for your patience, but as a new user of ha I mean automation like this
If the battery value is in the state 50.21 and the trigger indicates between 48 volts and 60 volts , the value 50.21 is in the range indicated by me so it must perform the action . I still don’t understand why the action of turning on the switch must take place below or above 60 volts. It seems like a rule on the contrary . Forgive me but I’m at my first experiences, but as a user I interpret it like this!
Also, if it is as you say, simply modify the values of the automation I posted so that it works and makes me understand the mechanism. At the moment I have 50.20 volts and I would expect it to turn on.
Thank you . I have to do some tests to understand. Now I have tried to understand if the action works to indicate to the automation if a PC is active then turn on the fridge if you turn it off turn it off. It works .
Hi , so if I understood correctly before the automation trigger is triggered , specific conditions must be verified that go beyond the declared values .
In this case I expect that the fridge automation starting for example that the fridge is with a battery reading tenone at 47.90, it will cross 48.3 and as soon as it exceeds the values of 49.8 it will be activated.