forgot to update the api call url #27

Merged
Rich merged 1 commits from 2-homeassistant-api-connection-is-broken into master 2019-11-27 19:24:46 +00:00
+1 -1
View File
@@ -257,7 +257,7 @@ async def printstat(ctx):
payload = {
"entity": HASS_LIGHT
}
requests.post(hassURL, data=payload, headers=hassHEADERS)
requests.post(hassAPIURL, data=payload, headers=hassHEADERS)
except:
# Do nothing is this fails
print(" ! Unable to turn on light")