Tsar
(Christian)
1
Hi,
Since installing version 2024.2 (I think) I get an error when executing a rest_command
In fact, rest_command is executed, but further execution of the script/automation stops afterwards.
Here’s an example:
![image](https://community-assets.home-assistant.io/original/4X/9/5/9/9598c58326bea2f49cdae7b0602179622433c14f.png)
The script :
`alias: Rolluik
sequence:
- service: rest_command.rolluik_{{ rolluik }}_{{ beweging }}_{{ druk }}
- if:
- condition: template
value_template: "{{ beweging == 'op'}}"
then:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.toggle_rolluiken_reeds_neer
data: {}
description: " Rolluik op of neer"
fields:
rolluik:
description: The sutter you want to control
default: salon
example: badkamer
beweging:
description: Welke beweging
default: op
example: neer
druk:
description: Lang of kort drukken
default: kort
example: lang
mode: single
`
![image](https://community-assets.home-assistant.io/original/4X/e/d/3/ed3c1f5308f151e7e8808a7ea82b42e980509c76.png)
Calling the rest_command in developer tools gives me the same problem :
Any idea ?
koying
(Chris B)
2
Try with curl in e.g., the SSH addon:
curl -k -v <url>
Hopefully, it will tell you what’s the issue, precisely, but it’s likely to be an unexpected HTTP code (4xx, 5xx, …)
koying
(Chris B)
4
The “server” doesn’t reply anything, in contradiction with the http standard.
I guess that’s why HA is not happy.
Tsar
(Christian)
5
That’s true, I don’t get any answer from it…it’s just a command to my domotica system.
This worked for more than 2 years.
And now ?
koying
(Chris B)
6
Very much likely due to
As told in that PR, try continue_on_error
Tsar
(Christian)
7
Super, it works ! Thank you so much !
Have a very nice day !