blueair-api 1.34.0__tar.gz → 1.34.1__tar.gz
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-1.34.0 → blueair_api-1.34.1}/PKG-INFO +3 -2
- {blueair_api-1.34.0 → blueair_api-1.34.1}/pyproject.toml +1 -1
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/device_aws.py +1 -1
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api.egg-info/PKG-INFO +3 -2
- {blueair_api-1.34.0 → blueair_api-1.34.1}/tests/test_device_aws.py +54 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/LICENSE +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/README.md +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/setup.cfg +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/__init__.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/callbacks.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/const.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/device.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/errors.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/http_aws_blueair.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/http_blueair.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/intermediate_representation_aws.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/model_enum.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/stub.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/util.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/util_bootstrap.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/util_http.py +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api.egg-info/SOURCES.txt +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api.egg-info/dependency_links.txt +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api.egg-info/requires.txt +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api.egg-info/top_level.txt +0 -0
- {blueair_api-1.34.0 → blueair_api-1.34.1}/tests/test_intermediate_representation_aws.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: blueair_api
|
3
|
-
Version: 1.34.
|
3
|
+
Version: 1.34.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
|
@@ -17,6 +17,7 @@ Requires-Python: <4,>=3.12.0
|
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
License-File: LICENSE
|
19
19
|
Requires-Dist: aiohttp>=3.8.1
|
20
|
+
Dynamic: license-file
|
20
21
|
|
21
22
|
[![GitHub Release][releases-shield]][releases]
|
22
23
|
[![GitHub Activity][commits-shield]][commits]
|
@@ -243,7 +243,7 @@ class DeviceAws(CallbacksMixin):
|
|
243
243
|
return ModelEnum.PROTECT_7470I
|
244
244
|
if self.sku == "110059":
|
245
245
|
return ModelEnum.MAX_211I
|
246
|
-
if self.sku
|
246
|
+
if self.sku in ["110092", "110829"]:
|
247
247
|
return ModelEnum.MAX_311I
|
248
248
|
if self.sku == "110057":
|
249
249
|
return ModelEnum.MAX_411I
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: blueair_api
|
3
|
-
Version: 1.34.
|
3
|
+
Version: 1.34.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
|
@@ -17,6 +17,7 @@ Requires-Python: <4,>=3.12.0
|
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
License-File: LICENSE
|
19
19
|
Requires-Dist: aiohttp>=3.8.1
|
20
|
+
Dynamic: license-file
|
20
21
|
|
21
22
|
[![GitHub Release][releases-shield]][releases]
|
22
23
|
[![GitHub Activity][commits-shield]][commits]
|
@@ -440,6 +440,60 @@ class H35iTest(DeviceAwsTestBase):
|
|
440
440
|
assert device.fan_speed_0 is NotImplemented
|
441
441
|
assert device.temperature_unit is NotImplemented
|
442
442
|
|
443
|
+
|
444
|
+
class Max311iTest(DeviceAwsTestBase):
|
445
|
+
"""Tests for H35i."""
|
446
|
+
|
447
|
+
def setUp(self):
|
448
|
+
super().setUp()
|
449
|
+
with open(resources.files().joinpath('device_info/max_311i.json')) as sample_file:
|
450
|
+
info = json.load(sample_file)
|
451
|
+
self.device_info_helper.info.update(info)
|
452
|
+
|
453
|
+
async def test_attributes(self):
|
454
|
+
await self.device.refresh()
|
455
|
+
self.api.device_info.assert_awaited_with("fake-name-api", "fake-uuid")
|
456
|
+
|
457
|
+
with assert_fully_checked(self.device) as device:
|
458
|
+
|
459
|
+
assert device.model == ModelEnum.MAX_311I
|
460
|
+
|
461
|
+
assert device.pm1 is NotImplemented
|
462
|
+
assert device.pm2_5 == 0
|
463
|
+
assert device.pm10 is NotImplemented
|
464
|
+
assert device.tVOC is NotImplemented
|
465
|
+
assert device.temperature is NotImplemented
|
466
|
+
assert device.humidity is NotImplemented
|
467
|
+
assert device.name == "Loft"
|
468
|
+
assert device.firmware == "1.0.4"
|
469
|
+
assert device.mcu_firmware == "1.0.4"
|
470
|
+
assert device.serial_number == "111082900302313210005018"
|
471
|
+
assert device.sku == "110829"
|
472
|
+
|
473
|
+
assert device.standby is False
|
474
|
+
assert device.night_mode is False
|
475
|
+
assert device.germ_shield is NotImplemented
|
476
|
+
assert device.brightness == 35
|
477
|
+
assert device.child_lock is True
|
478
|
+
assert device.fan_speed == 11
|
479
|
+
assert device.fan_auto_mode is True
|
480
|
+
assert device.filter_usage_percentage == 12
|
481
|
+
assert device.wifi_working is True
|
482
|
+
assert device.wick_usage_percentage is NotImplemented
|
483
|
+
assert device.auto_regulated_humidity is NotImplemented
|
484
|
+
assert device.water_shortage is NotImplemented
|
485
|
+
assert device.wick_dry_mode is NotImplemented
|
486
|
+
assert device.main_mode is NotImplemented
|
487
|
+
assert device.ap_sub_mode is NotImplemented
|
488
|
+
assert device.heat_temp is NotImplemented
|
489
|
+
assert device.heat_sub_mode is NotImplemented
|
490
|
+
assert device.heat_fan_speed is NotImplemented
|
491
|
+
assert device.cool_sub_mode is NotImplemented
|
492
|
+
assert device.cool_fan_speed is NotImplemented
|
493
|
+
assert device.fan_speed_0 is NotImplemented
|
494
|
+
assert device.temperature_unit is NotImplemented
|
495
|
+
|
496
|
+
|
443
497
|
class T10iTest(DeviceAwsTestBase):
|
444
498
|
"""Tests for T10i."""
|
445
499
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{blueair_api-1.34.0 → blueair_api-1.34.1}/src/blueair_api/intermediate_representation_aws.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|