PySwitchbot 0.62.1__tar.gz → 0.62.2__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.
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/PKG-INFO +1 -1
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/PySwitchbot.egg-info/PKG-INFO +1 -1
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/setup.py +1 -1
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/const/air_purifier.py +2 -2
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/air_purifier.py +2 -2
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_adv_parser.py +1 -1
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_air_purifier.py +2 -2
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/LICENSE +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/MANIFEST.in +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/PySwitchbot.egg-info/SOURCES.txt +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/PySwitchbot.egg-info/dependency_links.txt +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/PySwitchbot.egg-info/requires.txt +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/PySwitchbot.egg-info/top_level.txt +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/README.md +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/pyproject.toml +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/setup.cfg +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/__init__.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parser.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/__init__.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/air_purifier.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/blind_tilt.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/bot.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/bulb.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/ceiling_light.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/contact.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/curtain.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/fan.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/hub2.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/hubmini_matter.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/humidifier.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/keypad.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/leak.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/light_strip.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/lock.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/meter.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/motion.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/plug.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/relay_switch.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/remote.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/roller_shade.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/adv_parsers/vacuum.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/api_config.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/const/__init__.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/const/evaporative_humidifier.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/const/fan.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/const/hub2.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/const/lock.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/__init__.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/base_cover.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/base_light.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/blind_tilt.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/bot.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/bulb.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/ceiling_light.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/contact.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/curtain.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/device.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/evaporative_humidifier.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/fan.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/humidifier.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/keypad.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/light_strip.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/lock.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/meter.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/motion.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/plug.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/relay_switch.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/roller_shade.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/devices/vacuum.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/discovery.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/enum.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/helpers.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/switchbot/models.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_base_cover.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_blind_tilt.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_curtain.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_evaporative_humidifier.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_fan.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_hub2.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_relay_switch.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_roller_shade.py +0 -0
- {pyswitchbot-0.62.1 → pyswitchbot-0.62.2}/tests/test_vacuum.py +0 -0
|
@@ -28,8 +28,8 @@ COMMAND_SET_MODE = {
|
|
|
28
28
|
AirPurifierMode.LEVEL_2.name.lower(): f"{COMMAND_HEAD}01010132",
|
|
29
29
|
AirPurifierMode.LEVEL_3.name.lower(): f"{COMMAND_HEAD}01010164",
|
|
30
30
|
AirPurifierMode.AUTO.name.lower(): f"{COMMAND_HEAD}01010200",
|
|
31
|
-
AirPurifierMode.
|
|
32
|
-
AirPurifierMode.
|
|
31
|
+
AirPurifierMode.SLEEP.name.lower(): f"{COMMAND_HEAD}01010300",
|
|
32
|
+
AirPurifierMode.PET.name.lower(): f"{COMMAND_HEAD}01010400",
|
|
33
33
|
}
|
|
34
34
|
DEVICE_GET_BASIC_SETTINGS_KEY = "570f4d81"
|
|
35
35
|
|
|
@@ -171,7 +171,7 @@ async def test__get_basic_info(rawAdvData, model, response, expected):
|
|
|
171
171
|
bytearray(
|
|
172
172
|
b"\x01\xa8\xec\x8c\x08\x00\xb2\x01\x96\x00\x00\x00\xf0\x00\x00\x17"
|
|
173
173
|
),
|
|
174
|
-
[True, 2, "
|
|
174
|
+
[True, 2, "pet", True, False, "excellent", 50, 240, 2.3],
|
|
175
175
|
),
|
|
176
176
|
],
|
|
177
177
|
)
|
|
@@ -226,6 +226,6 @@ def test_get_modes():
|
|
|
226
226
|
"level_2",
|
|
227
227
|
"level_3",
|
|
228
228
|
"auto",
|
|
229
|
-
"pet",
|
|
230
229
|
"sleep",
|
|
230
|
+
"pet",
|
|
231
231
|
]
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|