I have the google assistant relay up and running. I can use the sandbox function and successfully send a broadcast. I have the test broadcast in the HASSIO UI I can send a test broadcast from successfully. For the life of me I cannot get the automation to send a broadcast and was wondering how I need to set it up in the automation. This is how I currently have it configured. Any guidance would be appreciated I have been looking for an answer for weeks now without any success.
Hello thats my config.
configuration.yaml:
rest_command:
assistant_broadcast:
url: http://192.168.x.y:3000/assistant
method: POST
content_type: "application/json"
payload: '{"command":"{{ command }}", "user":"Ava", "broadcast":true}'
automation.yaml:
action:
- data:
command: "Guten Tag. Ein Tipp von mir. Der gelbe Sack wird abgeholt"
service: rest_command.assistant_broadcast
2 Likes
Thank you so much I was able to finally get it working. Weird I had two setup the same way and one worked the other didn’t., I did get it working though.