PySwitchbot 0.40.1__tar.gz → 0.41.0__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.
Files changed (47) hide show
  1. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/PKG-INFO +8 -1
  2. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/PySwitchbot.egg-info/PKG-INFO +8 -1
  3. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/PySwitchbot.egg-info/SOURCES.txt +2 -1
  4. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/setup.py +1 -1
  5. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parser.py +6 -0
  6. PySwitchbot-0.41.0/tests/test_adv_parser.py +1434 -0
  7. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/LICENSE +0 -0
  8. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/MANIFEST.in +0 -0
  9. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/PySwitchbot.egg-info/dependency_links.txt +0 -0
  10. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/PySwitchbot.egg-info/requires.txt +0 -0
  11. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/PySwitchbot.egg-info/top_level.txt +0 -0
  12. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/README.md +0 -0
  13. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/setup.cfg +0 -0
  14. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/__init__.py +0 -0
  15. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/__init__.py +0 -0
  16. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/blind_tilt.py +0 -0
  17. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/bot.py +0 -0
  18. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/bulb.py +0 -0
  19. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/ceiling_light.py +0 -0
  20. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/contact.py +0 -0
  21. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/curtain.py +0 -0
  22. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/humidifier.py +0 -0
  23. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/light_strip.py +0 -0
  24. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/lock.py +0 -0
  25. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/meter.py +0 -0
  26. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/motion.py +0 -0
  27. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/adv_parsers/plug.py +0 -0
  28. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/api_config.py +0 -0
  29. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/const.py +0 -0
  30. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/__init__.py +0 -0
  31. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/base_light.py +0 -0
  32. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/blind_tilt.py +0 -0
  33. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/bot.py +0 -0
  34. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/bulb.py +0 -0
  35. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/ceiling_light.py +0 -0
  36. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/contact.py +0 -0
  37. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/curtain.py +0 -0
  38. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/device.py +0 -0
  39. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/humidifier.py +0 -0
  40. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/light_strip.py +0 -0
  41. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/lock.py +0 -0
  42. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/meter.py +0 -0
  43. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/motion.py +0 -0
  44. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/devices/plug.py +0 -0
  45. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/discovery.py +0 -0
  46. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/enum.py +0 -0
  47. {PySwitchbot-0.40.1 → PySwitchbot-0.41.0}/switchbot/models.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySwitchbot
3
- Version: 0.40.1
3
+ Version: 0.41.0
4
4
  Summary: A library to communicate with Switchbot
5
5
  Home-page: https://github.com/Danielhiversen/pySwitchbot/
6
6
  Author: Daniel Hjelseth Hoyer
@@ -13,3 +13,10 @@ Classifier: Programming Language :: Python
13
13
  Classifier: Topic :: Home Automation
14
14
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
15
  License-File: LICENSE
16
+ Requires-Dist: async_timeout>=4.0.1
17
+ Requires-Dist: bleak>=0.19.0
18
+ Requires-Dist: bleak-retry-connector>=2.9.0
19
+ Requires-Dist: cryptography>=39.0.0
20
+ Requires-Dist: pyOpenSSL>=23.0.0
21
+ Requires-Dist: boto3>=1.20.24
22
+ Requires-Dist: requests>=2.28.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PySwitchbot
3
- Version: 0.40.1
3
+ Version: 0.41.0
4
4
  Summary: A library to communicate with Switchbot
5
5
  Home-page: https://github.com/Danielhiversen/pySwitchbot/
6
6
  Author: Daniel Hjelseth Hoyer
@@ -13,3 +13,10 @@ Classifier: Programming Language :: Python
13
13
  Classifier: Topic :: Home Automation
14
14
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
15
15
  License-File: LICENSE
16
+ Requires-Dist: async_timeout>=4.0.1
17
+ Requires-Dist: bleak>=0.19.0
18
+ Requires-Dist: bleak-retry-connector>=2.9.0
19
+ Requires-Dist: cryptography>=39.0.0
20
+ Requires-Dist: pyOpenSSL>=23.0.0
21
+ Requires-Dist: boto3>=1.20.24
22
+ Requires-Dist: requests>=2.28.1
@@ -41,4 +41,5 @@ switchbot/devices/light_strip.py
41
41
  switchbot/devices/lock.py
42
42
  switchbot/devices/meter.py
43
43
  switchbot/devices/motion.py
44
- switchbot/devices/plug.py
44
+ switchbot/devices/plug.py
45
+ tests/test_adv_parser.py
@@ -12,7 +12,7 @@ setup(
12
12
  "boto3>=1.20.24",
13
13
  "requests>=2.28.1",
14
14
  ],
15
- version="0.40.1",
15
+ version="0.41.0",
16
16
  description="A library to communicate with Switchbot",
17
17
  author="Daniel Hjelseth Hoyer",
18
18
  url="https://github.com/Danielhiversen/pySwitchbot/",
@@ -124,6 +124,12 @@ SUPPORTED_TYPES: dict[str, SwitchbotSupportedType] = {
124
124
  "func": process_woceiling,
125
125
  "manufacturer_id": 2409,
126
126
  },
127
+ "n": {
128
+ "modelName": SwitchbotModel.CEILING_LIGHT,
129
+ "modelFriendlyName": "Ceiling Light Pro",
130
+ "func": process_woceiling,
131
+ "manufacturer_id": 2409,
132
+ },
127
133
  "e": {
128
134
  "modelName": SwitchbotModel.HUMIDIFIER,
129
135
  "modelFriendlyName": "Humidifier",