python-xiaobiu 0.1.0__py3-none-any.whl → 0.1.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-xiaobiu
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Suning biu smart home SMS login and session client
5
5
  Project-URL: Homepage, https://github.com/FaintGhost/python-xiaobiu
6
6
  Project-URL: Bug Tracker, https://github.com/FaintGhost/python-xiaobiu/issues
@@ -1,9 +1,9 @@
1
1
  xiaobiu/__init__.py,sha256=3I1iNM2xCUR1SM93nL2WmNfXbGB5bdgJ6Ai-1VmNImI,641
2
2
  xiaobiu/captcha_bridge.py,sha256=l8c3HnspQt1JDM1sDKnvcM4yvf7NZosSQ7x2AlO-kEA,12920
3
- xiaobiu/client.py,sha256=YXLX7wncVMmPlI8_L1XziLoGlL4Vlh3SX1l1XOZSa9k,51420
3
+ xiaobiu/client.py,sha256=dXTG46FaVi1rX3fHcfWaMeSDTyNmqF4_ysvZUqeR8uo,51388
4
4
  xiaobiu/crypto.py,sha256=C0Lcp2Cfy-075hv65b1RYfn6UbiHneLhp4PhUftzzOk,2424
5
5
  xiaobiu/models.py,sha256=Ok_cSKm1D-dhp8hR3HMY_QlD9uTIQNZ6SnOAbNg35oM,3657
6
- python_xiaobiu-0.1.0.dist-info/METADATA,sha256=J9qAc4DvSjSTLHxZ5zuG8UNoebm8gHOSCsY9IvF5Qbo,1865
7
- python_xiaobiu-0.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
8
- python_xiaobiu-0.1.0.dist-info/entry_points.txt,sha256=w1z8h63RRusoSGAbbSMpNcq4qbN3HOedsMlxwuFH3U8,44
9
- python_xiaobiu-0.1.0.dist-info/RECORD,,
6
+ python_xiaobiu-0.1.1.dist-info/METADATA,sha256=lQnTF649FIczFLuQai1FeqwU5W4k6-l9aJEduWGSaw4,1865
7
+ python_xiaobiu-0.1.1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
8
+ python_xiaobiu-0.1.1.dist-info/entry_points.txt,sha256=w1z8h63RRusoSGAbbSMpNcq4qbN3HOedsMlxwuFH3U8,44
9
+ python_xiaobiu-0.1.1.dist-info/RECORD,,
xiaobiu/client.py CHANGED
@@ -632,6 +632,7 @@ class SuningSmartHomeClient:
632
632
 
633
633
  response = send_request()
634
634
  if self._is_login_redirect(response):
635
+ self.bootstrap_service("shcss")
635
636
  self.bootstrap_service("itapig")
636
637
  response = send_request()
637
638
  if self._is_login_redirect(response):
@@ -885,10 +886,8 @@ class SuningSmartHomeClient:
885
886
 
886
887
  def keep_alive(self) -> dict[str, Any]:
887
888
  member_info = self.query_member_base_info()
888
- family_info = self.list_families()
889
889
  return {
890
890
  "member": member_info,
891
- "families": family_info,
892
891
  }
893
892
 
894
893
  def save_state(self) -> None: