找回密码
 立即注册

微信扫码登录

搜索
查看: 7758|回复: 7

[求助] 关于彩云天界接入HA 一直报错 全部显示UNKNOWN

[复制链接]

14

主题

70

回帖

911

积分

高级会员

积分
911
金钱
826
HASS币
0
发表于 2017-9-22 16:02:17 | 显示全部楼层 |阅读模式
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!

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-9-19 04:26 , Processed in 1.036750 second(s), 11 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表