blueair-api 1.9.3__py3-none-any.whl → 1.9.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- blueair_api/device_aws.py +2 -2
- blueair_api/http_aws_blueair.py +2 -0
- {blueair_api-1.9.3.dist-info → blueair_api-1.9.4.dist-info}/METADATA +1 -1
- {blueair_api-1.9.3.dist-info → blueair_api-1.9.4.dist-info}/RECORD +7 -7
- {blueair_api-1.9.3.dist-info → blueair_api-1.9.4.dist-info}/WHEEL +1 -1
- {blueair_api-1.9.3.dist-info → blueair_api-1.9.4.dist-info}/LICENSE +0 -0
- {blueair_api-1.9.3.dist-info → blueair_api-1.9.4.dist-info}/top_level.txt +0 -0
blueair_api/device_aws.py
CHANGED
@@ -17,7 +17,7 @@ class DeviceAws(CallbacksMixin):
|
|
17
17
|
serial_number: str = None
|
18
18
|
|
19
19
|
brightness: int = None
|
20
|
-
child_lock:
|
20
|
+
child_lock: bool = None
|
21
21
|
fan_speed: int = None
|
22
22
|
fan_auto_mode: bool = None
|
23
23
|
running: bool = None
|
@@ -66,7 +66,7 @@ class DeviceAws(CallbacksMixin):
|
|
66
66
|
self.night_mode = safely_get_json_value(states, "nightmode", bool)
|
67
67
|
self.germ_shield = safely_get_json_value(states, "germshield", bool)
|
68
68
|
self.brightness = safely_get_json_value(states, "brightness", int)
|
69
|
-
self.child_lock = safely_get_json_value(states, "childlock")
|
69
|
+
self.child_lock = safely_get_json_value(states, "childlock", bool)
|
70
70
|
self.fan_speed = safely_get_json_value(states, "fanspeed", int)
|
71
71
|
self.fan_auto_mode = safely_get_json_value(states, "automode", bool)
|
72
72
|
self.filter_usage = safely_get_json_value(states, "filterusage", int)
|
blueair_api/http_aws_blueair.py
CHANGED
@@ -48,8 +48,10 @@ def request_with_errors(func):
|
|
48
48
|
url = kwargs["url"]
|
49
49
|
response_text = await response.text()
|
50
50
|
if "accounts.login" in url:
|
51
|
+
_LOGGER.debug("login error")
|
51
52
|
raise LoginError(response_text)
|
52
53
|
else:
|
54
|
+
_LOGGER.debug("session error")
|
53
55
|
raise SessionError(response_text)
|
54
56
|
|
55
57
|
return request_with_errors_wrapper
|
@@ -2,16 +2,16 @@ blueair_api/__init__.py,sha256=TSAR2ntyFQWyGdKNR1iEsJJmQbNMOvnw-xdVONMHdA8,279
|
|
2
2
|
blueair_api/callbacks.py,sha256=6hzAAbdq-FQYTgc5RVBQCiqJz3PaBHkIgAkg0P2NZ8U,725
|
3
3
|
blueair_api/const.py,sha256=4c_BWF1YzFZ3lpCtywxrBVY7g7lryNxzBkYnIOK09CA,1110
|
4
4
|
blueair_api/device.py,sha256=8fzC97FeyCvjML-73ls-vQPs2_aTNX9o-Ywk7ZTVoNI,3193
|
5
|
-
blueair_api/device_aws.py,sha256=
|
5
|
+
blueair_api/device_aws.py,sha256=w9TZz_l7fcjlbxMuKpI6NiTjvSfCF-XJG26YInpud3M,4917
|
6
6
|
blueair_api/errors.py,sha256=lJ_iFU_W6zQfGRi_wsMhWDw-fAVPFeCkCbT1erIlYQQ,233
|
7
|
-
blueair_api/http_aws_blueair.py,sha256=
|
7
|
+
blueair_api/http_aws_blueair.py,sha256=83YftARTTYSHWWX0l0Y2nA8hXZstYWDe9pgyB4fEYIQ,18081
|
8
8
|
blueair_api/http_blueair.py,sha256=ieDvjs0_DHSJzseO_qdvLIxdrUUHuTgSHjWb6u-_gRs,7350
|
9
9
|
blueair_api/stub.py,sha256=04RBMbv3ZdfJzmZISj3grf43AYU7ia0parL0UKDfeXI,1273
|
10
10
|
blueair_api/util.py,sha256=3L9-vfHfN1vUBYU0BA9ruYyNPUTmS21D-uI-Jyo5x6U,1672
|
11
11
|
blueair_api/util_bootstrap.py,sha256=A_0wj92QpowoKy8tJgKgQMKScC_c8uyfhZlCXZup5mY,1562
|
12
12
|
blueair_api/util_http.py,sha256=45AJG3Vb6LMVzI0WV22AoSyt64f_Jj3KpOAwF5M6EFE,1327
|
13
|
-
blueair_api-1.9.
|
14
|
-
blueair_api-1.9.
|
15
|
-
blueair_api-1.9.
|
16
|
-
blueair_api-1.9.
|
17
|
-
blueair_api-1.9.
|
13
|
+
blueair_api-1.9.4.dist-info/LICENSE,sha256=W6UV41yCe1R_Avet8VtsxwdJar18n40b3MRnbEMHZmI,1066
|
14
|
+
blueair_api-1.9.4.dist-info/METADATA,sha256=fp59bkL3smp-8KG3j3sydpWVl9E6jDz_vQB6McC7EWM,2035
|
15
|
+
blueair_api-1.9.4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
16
|
+
blueair_api-1.9.4.dist-info/top_level.txt,sha256=-gn0jNtmE83qEu70uMW5F4JrXnHGRfuFup1EPWF70oc,12
|
17
|
+
blueair_api-1.9.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|