积分 911
金钱 826
威望 0
贡献 0
HASS币 0
高级会员
积分 911
金钱 826
HASS币 0
2017-09-22 16:00:10 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.caiyun_realtime_update_realtime_update fails
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/root/.homeassistant/custom_components/sensor/CaiyunweatherSE.py", line 697, in update
realupdate_time = time.localtime(self.data_currently['server_time'])
KeyError: 'server_time'
2017-09-22 16:00:10 ERROR (Thread-10) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-4) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-8) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-11) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-7) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-5) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-9) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-3) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-6) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!
2017-09-22 16:00:10 ERROR (Thread-2) [custom_components.sensor.CaiyunweatherSE] Json Status Error1!