|
用的L大提供的彩云天气SE版,Ha升级0.57.2后,无法更新,申请的彩云APIkey已确认正确无误,log错误日志如下:
求解决思路?
2017-11-08 10:32:04 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.caiyun_realtime_update_realtime_update failsTraceback (most recent call last): File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state yield from self.async_device_update() File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 309, in async_device_update yield from self.hass.async_add_job(self.update) File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup future.result() File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result raise self._exception File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run result = self.fn(*self.args, **self.kwargs) File "/config/custom_components/sensor/CaiyunweatherSE.py", line 697, in update realupdate_time = time.localtime(self.data_currently['server_time'])KeyError: 'server_time'
|
|