From 62f71f7caf79cd3ad0b9c188bcbe83f9bcdf4113 Mon Sep 17 00:00:00 2001 From: Rich O Date: Wed, 27 Nov 2019 14:24:23 -0500 Subject: [PATCH] forgot to update the api call url --- r0b3bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r0b3bot.py b/r0b3bot.py index 7575375..e406f09 100644 --- a/r0b3bot.py +++ b/r0b3bot.py @@ -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") -- 2.39.5