Hey everyone, I placed this here, as it does not seem to fit anywhere else.
I have an automation that I am imagining, but am unsure how to express it in the gui.
This is what I would like:
When either myself, or my wife (triggered by the location update of our phones within our home zone) arrive home:
- Check if the other person has arrived home within the past 5 minutes (I want it to do this so that when we are together, the one phone will not trigger it, and then the second one trigger it again)
- Check if the garage door is closed (it has a sensor, so I check the sensor). If it is closed, open it, else, do nothing.
- Check if it is between 1 hour before sunset and one hour after sunrise. If it is, turn on the lights in the entrance hall, else do nothing.
So, I have two triggers (which I understand to be “or” triggers.) - my phone entering the home zone, and my wife’s phone entering the home zone.
Then I have a condition: if the garage door sensor says it is closed.
Then I have an action: open the garage door.
So, I would like to know:
- how I would add the check for the “opposite” phone that then one currently triggering.
- how I would add the condition and the action for the lights, based on sunset/sunrise
- how I would then add the actions in such a way that they are done only when their own related condition is met.
I would very much like to do this in the GUI, and not in YAML, but I am finding it hard setting out the logical sequence, and also struggling with which setting exactly does what, and how it relates to the other.
The attached image is a screenshot of what I have thus far.
I think that this will open the garage door, and turn on the lights (or not if still sunlight), BUT, I think that if the garage door is closed, the lights will be missed, as I believe in their present position, they are dependent upon the garage door being closed?
Any help appreciated.