What I’d like to do is the following:
When I start my car and have my iPhone, their Bluetooth’s automatically pair.
This is a sign I’m leaving, so I’d like to automatically open the gate in that case.
I have Home Assistant scripts for opening the gate (gate_departure_script).
I can see this script and even call it using the Shortcut app with its Automation feature.
However, the app does not run the automation automatically but asks permission to execute, defeating the purpose.
How can I automatically trigger it? Without requiring permissions? Any clue or alternatives?