I’m not sure why your automation doesn’t work. The code you have provided appears to only deal with the sunrise case. Nevertheless, here’s some things to check.
Have you looked to see if there are any traces for the automation to check that it actually gets triggered at sunrise?
Have you tried testing the conditions in the automation editor to see if the conditions are met or not met when your phones are at home or not. Try putting them into airplane mode to simulate being away. You can test conditions from each conditions’s 3-dot menu.
Have you tried running the action that opens the blinds to see if it works? You can run an action from the 3-dot menu for that action.
This aren’t technically problems, but fyi conditions are treated as ANDs by default, you don’t need an AND condition to wrap them in at the top. Also, if you use state conditions instead of device conditions, you’ll be able to use the easier to read entity ids of the device trackers.
templeton_nash
Good ideas, I will check if I can find something.
farmio
It’s looking better now. I changed the config to
address:
- 1/2/3
- 4/5/6
And it worked when I manually tested the automation. Thanks. Let’s see if it also automatically works.
tom_l
Sorry, this was my first post here. I wasn’t aware that I used “direct messaging.” To be honest, I don’t even know what that is.
But I’ll take another look at it to make sure it doesn’t happen again and try to do it correctly next time.