We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 20b108e + 7b56894 commit 446c5d3Copy full SHA for 446c5d3
airos/airos8.py
@@ -100,6 +100,9 @@ async def login(self) -> bool:
100
data=post_data,
101
headers=login_request_headers,
102
) as response:
103
+ if response.status == 403:
104
+ logger.error("Authentication denied.")
105
+ raise ConnectionAuthenticationError from None
106
if not response.cookies:
107
logger.exception("Empty cookies after login, bailing out.")
108
raise ConnectionSetupError from None
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "airos"
7
-version = "0.1.6"
+version = "0.1.7"
8
license = "MIT"
9
description = "Ubiquity airOS module(s) for Python 3."
10
readme = "README.md"
0 commit comments