mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-16 19:38:34 +00:00
Update Troubleshooting.md
Fixed revised curl command for send_battery.sh
This commit is contained in:
@ -139,7 +139,7 @@ echo ""
|
|||||||
|
|
||||||
curl -s -X POST \
|
curl -s -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{ "type": "update_sensor_states", "data": [ {"state": ${level},"type": "sensor","unique_id": "battery_level"}, {"state": ${is_charging},"type": "binary_sensor","unique_id": "battery_is_charging"} ] }' \
|
-d '{ "type": "update_sensor_states", "data": [ {"state": '${level}',"type": "sensor","unique_id": "battery_level"}, {"state": '${is_charging}',"type": "binary_sensor","unique_id": "battery_is_charging"} ] }' \
|
||||||
${URL}/webhook/${WEBHOOK_ID}
|
${URL}/webhook/${WEBHOOK_ID}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user