I created an intent_script to allow my kids to call me using an old phone connected to a Grandstream. I use the ha-sip add-on to make these calls. However, to connect the Grandstream to my phone, they need to hang up first. So I instructed the LLM using the description field to give these instructions.
The instructions work fine, and the LLM does inform me that I need to hang up the phone and wait until it rings, however 9 out of 10 times it doesn't perform the script. That's also why I added the last line However, sometimes it does work (and sometimes it doesn't actually give the instructions in that case).
Is there any thing I can do to ensure it does give the instructions AND actually call the script?
Here's the intent_script I used
CallDad:
description: |
Call dad on his phone
Important: respond that they need to hang up the phone so the call can be made
Important: respond that the phone will ring after they did this and after that dad will be called as well
After explaining that then perform the actions from this script
action:
- alias: "Call script"
action: script.turn_on
target:
entity_id: script.make_call_assist
data:
variables:
to_call: !secret sip_dad
number_calling: "sip:**622@192.168.2.100"