blueair-api 1.12.0__py3-none-any.whl → 1.12.1__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
@@ -62,15 +62,13 @@ class Device(CallbacksMixin):
62
62
  if "night_mode" in attributes:
63
63
  self.night_mode = bool(attributes["night_mode"])
64
64
  self.fan_speed = int(attributes["fan_speed"])
65
- if "filter_status":
65
+ if "filter_status" in attributes:
66
66
  self.filter_expired = attributes["filter_status"] != "OK"
67
- else:
68
- self.filter_expired = None
69
67
  self.fan_mode = attributes["mode"]
70
68
  if "wifi_status" in attributes:
71
69
  self.wifi_working = attributes["wifi_status"] == "1"
72
70
  else:
73
- self.wifi_working = 0
71
+ self.wifi_working = False
74
72
  self.publish_updates()
75
73
 
76
74
  async def set_fan_speed(self, new_speed):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: blueair_api
3
- Version: 1.12.0
3
+ Version: 1.12.1
4
4
  Summary: Blueair Api Wrapper
5
5
  Author-email: Brendan Dahl <dahl.brendan@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/dahlb/blueair_api
@@ -1,7 +1,7 @@
1
1
  blueair_api/__init__.py,sha256=gk2CZWEnEo4FlP7VcJsDs1kujZ_ryXF5H9n3Kd-4WWo,313
2
2
  blueair_api/callbacks.py,sha256=6hzAAbdq-FQYTgc5RVBQCiqJz3PaBHkIgAkg0P2NZ8U,725
3
3
  blueair_api/const.py,sha256=fRth29dQT1dguM7L4ij8pDefB_vBrevAHqTdfNvSugs,1048
4
- blueair_api/device.py,sha256=ekx-smhX6n-evnrh87y1FTSMwSoPa-lQKJNyvTutnSA,3188
4
+ blueair_api/device.py,sha256=o6rUnoTQdQOKni0eoIDebM2FLpRFMbW22-uVSRk3kGs,3153
5
5
  blueair_api/device_aws.py,sha256=JxVStSXvNC2x3KR6s8nCP78mOWZ0tgyWcZRbKkLQKi8,6657
6
6
  blueair_api/errors.py,sha256=lJ_iFU_W6zQfGRi_wsMhWDw-fAVPFeCkCbT1erIlYQQ,233
7
7
  blueair_api/http_aws_blueair.py,sha256=m_qoCFOYICCu_U_maBvkmOha3YmNtxxtPYyapVBGKNc,17821
@@ -11,8 +11,8 @@ blueair_api/stub.py,sha256=04RBMbv3ZdfJzmZISj3grf43AYU7ia0parL0UKDfeXI,1273
11
11
  blueair_api/util.py,sha256=3L9-vfHfN1vUBYU0BA9ruYyNPUTmS21D-uI-Jyo5x6U,1672
12
12
  blueair_api/util_bootstrap.py,sha256=1IQXZ0_nbRiLYnrnmyQcDMdZ7vi4i_CV78vFRxXCPWY,1602
13
13
  blueair_api/util_http.py,sha256=45AJG3Vb6LMVzI0WV22AoSyt64f_Jj3KpOAwF5M6EFE,1327
14
- blueair_api-1.12.0.dist-info/LICENSE,sha256=W6UV41yCe1R_Avet8VtsxwdJar18n40b3MRnbEMHZmI,1066
15
- blueair_api-1.12.0.dist-info/METADATA,sha256=xQRJFjYD8Z9Y_ZNBWUN15Rn8ViMz-otW8a-92eJ2X0k,1997
16
- blueair_api-1.12.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
- blueair_api-1.12.0.dist-info/top_level.txt,sha256=-gn0jNtmE83qEu70uMW5F4JrXnHGRfuFup1EPWF70oc,12
18
- blueair_api-1.12.0.dist-info/RECORD,,
14
+ blueair_api-1.12.1.dist-info/LICENSE,sha256=W6UV41yCe1R_Avet8VtsxwdJar18n40b3MRnbEMHZmI,1066
15
+ blueair_api-1.12.1.dist-info/METADATA,sha256=n4YQGoreNASI1IfwG5nKY4roMsOcemfnYAIMqS3XYlk,1997
16
+ blueair_api-1.12.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
17
+ blueair_api-1.12.1.dist-info/top_level.txt,sha256=-gn0jNtmE83qEu70uMW5F4JrXnHGRfuFup1EPWF70oc,12
18
+ blueair_api-1.12.1.dist-info/RECORD,,