File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ async def enable(self):
6969 if self .api_token is None :
7070 _LOGGER .error ("You need to supply an api_token to use this" )
7171 return
72- params = "enable=True&auth{}" .format (self .api_token )
72+ params = "enable=True&auth= {}" .format (self .api_token )
7373 try :
7474 async with async_timeout .timeout (5 , loop = self ._loop ):
7575 response = await self ._session .get (self .base_url ,
@@ -91,7 +91,7 @@ async def disable(self, duration=True):
9191 if self .api_token is None :
9292 _LOGGER .error ("You need to supply an api_token to use this" )
9393 return
94- params = "disable={}&auth{}" .format (duration , self .api_token )
94+ params = "disable={}&auth= {}" .format (duration , self .api_token )
9595 try :
9696 async with async_timeout .timeout (5 , loop = self ._loop ):
9797 response = await self ._session .get (self .base_url ,
You can’t perform that action at this time.
0 commit comments