Skip to content

Commit

Permalink
fix: resolve issue with proxy left in integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Mulliken committed Dec 10, 2021
1 parent e6f9a1c commit 522856d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "wyzeapy"
version = "0.5.2b5"
version = "0.5.2b6"
description = "A library for interacting with Wyze devices"
authors = ["Joshua Mulliken <joshua@mulliken.net>"]
license = "GPL-3.0-only"
Expand Down
2 changes: 1 addition & 1 deletion src/wyzeapy/services/base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ async def _local_bulb_command(self, bulb, plist):

try:
async with aiohttp.ClientSession() as session:
async with session.post(url, data=payload_str, proxy='http://127.0.0.1:8081', ) as response:
async with session.post(url, data=payload_str) as response:
print(await response.text())
except aiohttp.ClientConnectionError:
_LOGGER.warning("Failed to connect to bulb %s" % bulb.mac)

0 comments on commit 522856d

Please sign in to comment.