add -f to all curl

This commit is contained in:
Alexandre
2022-02-25 10:44:16 +01:00
parent bcce6f3853
commit 384f6c8d4e
119 changed files with 243 additions and 243 deletions

View File

@@ -54,9 +54,9 @@ You can use a `command_line` switch to temporary disable a internet device in yo
switches:
iphone_internet:
friendly_name: "iPhone internet"
command_off: "/usr/bin/curl -X GET http://{HA-IP}:7022/disconnect?ip={iPhoneIP}"
command_on: "/usr/bin/curl -X GET http://{HA-IP}:7022/reconnect?ip={iPhoneIP}"
command_state: "/usr/bin/curl -X GET http://{HA-IP}:7022/status?ip={iPhoneIP}"
command_off: "/usr/bin/curl -f -X GET http://{HA-IP}:7022/disconnect?ip={iPhoneIP}"
command_on: "/usr/bin/curl -f -X GET http://{HA-IP}:7022/reconnect?ip={iPhoneIP}"
command_state: "/usr/bin/curl -f -X GET http://{HA-IP}:7022/status?ip={iPhoneIP}"
value_template: >
{{ value != "1" }}
```