I have been trying all day to find a solution for my problem.
I have a web-interface, which i’d like to control through home assistant.
The only option I have been able to get to work is through an URL, which perfectly executes an action of my web interface. But it also opens my browser each time I do it, which is very annoying.
I use the actions below.’
‘name: Gordijn links (dicht)
type: button
tap_action:
action: url
url_path: http://192.168.2.7/api?action=move_total_left&api=27031969’
My second approach doesnt work as it tells me that the service is not found…
‘name: Gordijn links dicht
type: button
tap_action:
action: call-service
service: shell_command.linksdicht
shell_command:
linksdicht: curl http://192.168.2.7/api?action=move_total_left&api=27031969’
What can I do?