blueair-api 1.24.0__py3-none-any.whl → 1.24.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 +11 -10
- {blueair_api-1.24.0.dist-info → blueair_api-1.24.1.dist-info}/METADATA +1 -1
- {blueair_api-1.24.0.dist-info → blueair_api-1.24.1.dist-info}/RECORD +6 -6
- {blueair_api-1.24.0.dist-info → blueair_api-1.24.1.dist-info}/LICENSE +0 -0
- {blueair_api-1.24.0.dist-info → blueair_api-1.24.1.dist-info}/WHEEL +0 -0
- {blueair_api-1.24.0.dist-info → blueair_api-1.24.1.dist-info}/top_level.txt +0 -0
blueair_api/device.py
CHANGED
@@ -81,16 +81,17 @@ class Device(CallbacksMixin):
|
|
81
81
|
self.wifi_working = attributes["wifi_status"] == "1"
|
82
82
|
else:
|
83
83
|
self.wifi_working = False
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
84
|
+
if self.compatibility != "sense+":
|
85
|
+
for data_point in transform_data_points(await self.api.get_data_points_since(self.uuid)):
|
86
|
+
_LOGGER.debug(data_point)
|
87
|
+
self.pm25 = safely_get_json_value(data_point, "pm25", int)
|
88
|
+
self.pm10 = safely_get_json_value(data_point, "pm10", int)
|
89
|
+
self.pm1 = safely_get_json_value(data_point, "pm1", int)
|
90
|
+
self.voc = safely_get_json_value(data_point, "voc", int)
|
91
|
+
self.co2 = safely_get_json_value(data_point, "co2", int)
|
92
|
+
self.temperature = safely_get_json_value(data_point, "temperature", int)
|
93
|
+
self.humidity = safely_get_json_value(data_point, "humidity", int)
|
94
|
+
self.all_pollution = safely_get_json_value(data_point, "all_pollution", int)
|
94
95
|
_LOGGER.debug(f"refreshed blueair device: {self}")
|
95
96
|
self.publish_updates()
|
96
97
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
blueair_api/__init__.py,sha256=GucsIENhTF4AVxPn4Xyr4imUxJJ8RO8RYt1opHCF2hQ,326
|
2
2
|
blueair_api/callbacks.py,sha256=eqgfe1qN_NNWOp2qNSP123zQJxh_Ie6vZXp5EHp6ePc,757
|
3
3
|
blueair_api/const.py,sha256=fRth29dQT1dguM7L4ij8pDefB_vBrevAHqTdfNvSugs,1048
|
4
|
-
blueair_api/device.py,sha256=
|
4
|
+
blueair_api/device.py,sha256=1cauwVaRXTVcUay_wA1mIpR-f7RPoxUp45lpredkNMo,3768
|
5
5
|
blueair_api/device_aws.py,sha256=mZFWsXVrKgEYgqKVJyAxXfuEADtDKujZcevaMf1z-Y4,5947
|
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=sTWyRSDObzrXpZToAgDmZhCk3q8SsGN35h-kzMOqSOc,1272
|
|
11
11
|
blueair_api/util.py,sha256=4g8dTlxawBYKslOJS7WCWss0670mtUc53c3L8NiPTsM,2201
|
12
12
|
blueair_api/util_bootstrap.py,sha256=Vewg7mT1qSRgzOOJDrpXrVhGwcFPRnMrqhJVSIB-0AA,1688
|
13
13
|
blueair_api/util_http.py,sha256=45AJG3Vb6LMVzI0WV22AoSyt64f_Jj3KpOAwF5M6EFE,1327
|
14
|
-
blueair_api-1.24.
|
15
|
-
blueair_api-1.24.
|
16
|
-
blueair_api-1.24.
|
17
|
-
blueair_api-1.24.
|
18
|
-
blueair_api-1.24.
|
14
|
+
blueair_api-1.24.1.dist-info/LICENSE,sha256=W6UV41yCe1R_Avet8VtsxwdJar18n40b3MRnbEMHZmI,1066
|
15
|
+
blueair_api-1.24.1.dist-info/METADATA,sha256=-79G2o5JYGfQMu249nFw5BNsxRLKnGUxwAA-gengZQM,1995
|
16
|
+
blueair_api-1.24.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
17
|
+
blueair_api-1.24.1.dist-info/top_level.txt,sha256=-gn0jNtmE83qEu70uMW5F4JrXnHGRfuFup1EPWF70oc,12
|
18
|
+
blueair_api-1.24.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|