From 825e863a684e622041af7f33968bb37692009111 Mon Sep 17 00:00:00 2001 From: Philip Abbey Date: Fri, 12 Jan 2024 17:16:45 +0000 Subject: [PATCH] Update Troubleshooting.md Fixed revised curl command for send_battery.sh --- Troubleshooting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index 1d2e0cd..b39ea6e 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -139,7 +139,7 @@ echo "" curl -s -X POST \ -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} ```