You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did have this working then it has stopped working.
I've added the new update from here but still getting these errors. Any ideas?
Error while setting up tapo_p100_control platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/tapo_p100_control/switch.py", line 43, in setup_platform
add_entities([P100Plug(p100)])
File "/config/custom_components/tapo_p100_control/switch.py", line 52, in init
self.update()
File "/config/custom_components/tapo_p100_control/switch.py", line 85, in update
self._name = self._p100.getDeviceName()
File "/usr/local/lib/python3.8/site-packages/PyP100/PyP100.py", line 285, in getDeviceName
data = self.getDeviceInfo()
File "/usr/local/lib/python3.8/site-packages/PyP100/PyP100.py", line 278, in getDeviceInfo
decryptedResponse = self.tpLinkCipher.decrypt(r.json()["result"]["response"])
KeyError: 'result'
The text was updated successfully, but these errors were encountered:
Hi,
I did have this working then it has stopped working.
I've added the new update from here but still getting these errors. Any ideas?
Error while setting up tapo_p100_control platform for switch
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/tapo_p100_control/switch.py", line 43, in setup_platform
add_entities([P100Plug(p100)])
File "/config/custom_components/tapo_p100_control/switch.py", line 52, in init
self.update()
File "/config/custom_components/tapo_p100_control/switch.py", line 85, in update
self._name = self._p100.getDeviceName()
File "/usr/local/lib/python3.8/site-packages/PyP100/PyP100.py", line 285, in getDeviceName
data = self.getDeviceInfo()
File "/usr/local/lib/python3.8/site-packages/PyP100/PyP100.py", line 278, in getDeviceInfo
decryptedResponse = self.tpLinkCipher.decrypt(r.json()["result"]["response"])
KeyError: 'result'
The text was updated successfully, but these errors were encountered: