python-aidot 0.2.6__tar.gz → 0.2.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: python-aidot
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: aidot control wifi lights
5
5
  Home-page: https://github.com/Aidot-Development-Team/python-aidot
6
6
  Author: aidotdev2024
@@ -203,9 +203,10 @@ class Lan(object):
203
203
 
204
204
  async def ping_task(self):
205
205
  while True:
206
+ await asyncio.sleep(5) #加个延迟,不然遇到查状态和发ping同时出现状态回不来,暂时不知道什么原因
206
207
  if await self.sendPingAction() == -1 :
207
208
  return
208
- await asyncio.sleep(10)
209
+ await asyncio.sleep(5)
209
210
 
210
211
  def getOnOffAction(self,OnOff):
211
212
  self._is_on = OnOff
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: python-aidot
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: aidot control wifi lights
5
5
  Home-page: https://github.com/Aidot-Development-Team/python-aidot
6
6
  Author: aidotdev2024
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="python-aidot",
8
- version="0.2.6",
8
+ version="0.2.7",
9
9
  author="aidotdev2024",
10
10
  url='https://github.com/Aidot-Development-Team/python-aidot',
11
11
  description="aidot control wifi lights",
File without changes
File without changes
File without changes