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.
- {python_aidot-0.2.6/python_aidot.egg-info → python_aidot-0.2.7}/PKG-INFO +1 -1
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/lan.py +2 -1
- {python_aidot-0.2.6 → python_aidot-0.2.7/python_aidot.egg-info}/PKG-INFO +1 -1
- {python_aidot-0.2.6 → python_aidot-0.2.7}/setup.py +1 -1
- {python_aidot-0.2.6 → python_aidot-0.2.7}/LICENSE +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/README.md +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/__init__.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/aes_utils.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/client.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/const.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/discover.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/exceptions.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/login_const.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/login_control.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/aidot/login_data.py +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/python_aidot.egg-info/SOURCES.txt +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/python_aidot.egg-info/dependency_links.txt +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/python_aidot.egg-info/requires.txt +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/python_aidot.egg-info/top_level.txt +0 -0
- {python_aidot-0.2.6 → python_aidot-0.2.7}/setup.cfg +0 -0
|
@@ -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(
|
|
209
|
+
await asyncio.sleep(5)
|
|
209
210
|
|
|
210
211
|
def getOnOffAction(self,OnOff):
|
|
211
212
|
self._is_on = OnOff
|
|
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
|