power: fix whitespace issues

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2021-03-18 08:28:32 -04:00
parent bf67bce65f
commit 976f9a732c
1 changed files with 2 additions and 2 deletions

View File

@ -533,7 +533,7 @@ class HomeSeer(PowerDevice):
self.user = config.get("user", "admin")
self.password = config.get("password", "")
async def _send_homeseer(self, request, additional = ""):
async def _send_homeseer(self, request, additional=""):
url = (f"http://{self.user}:{self.password}@{self.addr}"
f"/JSON?user={self.user}&pass={self.password}"
f"&request={request}&ref={self.device}&{additional}")