Change scripts states get & post

This commit is contained in:
2026-07-08 09:26:47 +02:00
parent 04a0bef826
commit 98289e96e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
#!/usr/bin/with-contenv bashio
curl -o states.json -s -X GET -H "Authorization: Bearer ${SUPERVISOR_TOKEN}" -H "Content-Type: application/json" http://supervisor/core/api/states
curl -o states.json -s -X GET -H "Authorization: Bearer ${HASS_TOKEN}" -H "Content-Type: application/json" http://${HASS_HOST}/api/states