blueair-api 1.9.2__py3-none-any.whl → 1.9.3__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.py CHANGED
@@ -57,7 +57,8 @@ class Device(CallbacksMixin):
57
57
  self.brightness = int(attributes["brightness"])
58
58
  else:
59
59
  self.brightness = 0
60
- self.child_lock = bool(attributes["child_lock"])
60
+ if "child_lock" in attributes:
61
+ self.child_lock = bool(attributes["child_lock"])
61
62
  if "night_mode" in attributes:
62
63
  self.night_mode = bool(attributes["night_mode"])
63
64
  self.fan_speed = int(attributes["fan_speed"])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: blueair_api
3
- Version: 1.9.2
3
+ Version: 1.9.3
4
4
  Summary: Blueair Api Wrapper
5
5
  Home-page: https://github.com/dahlb/blueair_api
6
6
  Author: Brendan Dahl
@@ -18,7 +18,7 @@ Classifier: Operating System :: MacOS :: MacOS X
18
18
  Requires-Python: >=3.9, <4
19
19
  Description-Content-Type: text/markdown
20
20
  License-File: LICENSE
21
- Requires-Dist: aiohttp >=3.8.1
21
+ Requires-Dist: aiohttp>=3.8.1
22
22
 
23
23
  [![GitHub Release][releases-shield]][releases]
24
24
  [![GitHub Activity][commits-shield]][commits]
@@ -1,7 +1,7 @@
1
1
  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
- blueair_api/device.py,sha256=ipoGTNNcek3y2egY1ZiKxOvZqTQ_BOoLzQ5zOJBP9dw,3150
4
+ blueair_api/device.py,sha256=8fzC97FeyCvjML-73ls-vQPs2_aTNX9o-Ywk7ZTVoNI,3193
5
5
  blueair_api/device_aws.py,sha256=EEk38JdKPF18Tq_Gt3Qofmhe6zujoG_1Pfl8Y1LFhdY,4910
6
6
  blueair_api/errors.py,sha256=lJ_iFU_W6zQfGRi_wsMhWDw-fAVPFeCkCbT1erIlYQQ,233
7
7
  blueair_api/http_aws_blueair.py,sha256=39pQDQLxElMhvNppzHLcB3N8iejwrQKbeeHKIzdHBus,17989
@@ -10,8 +10,8 @@ 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.2.dist-info/LICENSE,sha256=W6UV41yCe1R_Avet8VtsxwdJar18n40b3MRnbEMHZmI,1066
14
- blueair_api-1.9.2.dist-info/METADATA,sha256=xCrPlllx2J1_66x4u2-xd8-7bp5eIx8h8VOK1xh7Ssg,2036
15
- blueair_api-1.9.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
16
- blueair_api-1.9.2.dist-info/top_level.txt,sha256=-gn0jNtmE83qEu70uMW5F4JrXnHGRfuFup1EPWF70oc,12
17
- blueair_api-1.9.2.dist-info/RECORD,,
13
+ blueair_api-1.9.3.dist-info/LICENSE,sha256=W6UV41yCe1R_Avet8VtsxwdJar18n40b3MRnbEMHZmI,1066
14
+ blueair_api-1.9.3.dist-info/METADATA,sha256=CsDZt38y576G4dU-JBYEdhN20lB7wcpnGsjgTjSu1T0,2035
15
+ blueair_api-1.9.3.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
16
+ blueair_api-1.9.3.dist-info/top_level.txt,sha256=-gn0jNtmE83qEu70uMW5F4JrXnHGRfuFup1EPWF70oc,12
17
+ blueair_api-1.9.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (72.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5