Skip to content

Commit

Permalink
Fix TypeError, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sillyfrog committed Nov 3, 2024
1 parent 4638ec9 commit a29a9f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aiopulse2/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ async def serialrunner(self):
buf = const.DEVICE_QUERY_NAME.format(id=rollerid)
writer.write(buf.encode())
while True:
with async_timeout.timeout(3):
async with async_timeout.timeout(3):
response = await reader.readuntil(b";")
if len(response) > 0:
_LOGGER.debug("recv < %s", response)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
setuptools.setup(
name="aiopulse2",
packages=setuptools.find_packages(),
version="0.9.0",
version="0.9.1",
license="apache-2.0",
description="Rollease Acmeda Automate Pulse Hub v2 integration.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/sillyfrog/aiopulse2",
download_url="https://github.com/sillyfrog/aiopulse2/archive/v0.9.0.tar.gz",
download_url="https://github.com/sillyfrog/aiopulse2/archive/v0.9.1.tar.gz",
keywords=["automation"],
install_requires=["async_timeout>=3.0", "websockets>=8.1"],
classifiers=[
Expand Down

0 comments on commit a29a9f3

Please sign in to comment.