fix grammar
This commit is contained in:
parent
0a69def281
commit
6bd4a65d67
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ if [ -n "${ntfy_server}" ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
message "Sending Home Assistant event ..."
|
message "Sending event to Home Assistant ..."
|
||||||
result=$(curl -s -X POST -H "Authorization: Bearer ${ha_token}" -H "Content-Type: application/json" "${ha_url}/api/events/motion_event" -d "${data}")
|
result=$(curl -s -X POST -H "Authorization: Bearer ${ha_token}" -H "Content-Type: application/json" "${ha_url}/api/events/motion_event" -d "${data}")
|
||||||
return_code=$?
|
return_code=$?
|
||||||
if [ $return_code != 0 ]; then
|
if [ $return_code != 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue