PySwitchbot 2.9.0__tar.gz → 2.9.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.
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/PKG-INFO +2 -1
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/pyproject.toml +1 -1
- pyswitchbot-2.9.1/switchbot/__version__.py +1 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/_sensor_th.py +1 -1
- pyswitchbot-2.9.0/switchbot/__version__.py +0 -1
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/LICENSE +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/README.md +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/__init__.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parser.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/__init__.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/air_purifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/art_frame.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/blind_tilt.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/bot.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/bulb.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/ceiling_light.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/climate_panel.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/contact.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/curtain.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/fan.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/hub2.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/hub3.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/hubmini_matter.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/humidifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/keypad.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/keypad_vision.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/leak.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/light_strip.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/lock.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/meter.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/motion.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/plug.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/presence_sensor.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/relay_switch.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/remote.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/roller_shade.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/smart_thermostat_radiator.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/vacuum.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/adv_parsers/weather_station.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/api_config.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/__init__.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/air_purifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/climate.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/evaporative_humidifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/fan.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/hub2.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/hub3.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/light.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/lock.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/const/presence_sensor.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/__init__.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/air_purifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/art_frame.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/base_cover.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/base_light.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/blind_tilt.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/bot.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/bulb.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/ceiling_light.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/contact.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/curtain.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/device.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/evaporative_humidifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/fan.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/humidifier.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/keypad.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/keypad_vision.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/light_strip.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/lock.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/meter.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/meter_pro.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/motion.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/plug.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/relay_switch.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/roller_shade.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/smart_thermostat_radiator.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/universal_remote.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/devices/vacuum.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/discovery.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/enum.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/helpers.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/models.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/oauth.py +0 -0
- {pyswitchbot-2.9.0 → pyswitchbot-2.9.1}/switchbot/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PySwitchbot
|
|
3
|
-
Version: 2.9.
|
|
3
|
+
Version: 2.9.1
|
|
4
4
|
Summary: A library to communicate with Switchbot
|
|
5
5
|
License: MIT
|
|
6
6
|
License-File: LICENSE
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Classifier: Topic :: Home Automation
|
|
21
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
23
|
Requires-Dist: aiohttp (>=3.9.5)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.9.1"
|
|
@@ -24,7 +24,7 @@ def decode_temp_humidity(temp_data: bytes, battery: int | None) -> dict[str, Any
|
|
|
24
24
|
_temp_f = (_temp_f * 10) / 10
|
|
25
25
|
humidity = temp_data[2] & 0b01111111
|
|
26
26
|
|
|
27
|
-
if _temp_c == 0 and humidity == 0
|
|
27
|
+
if _temp_c == 0 and humidity == 0:
|
|
28
28
|
return {}
|
|
29
29
|
|
|
30
30
|
return {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.9.0"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|