『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3315|回复: 1

[求助] 关于HF天气不能使用的问题

[复制链接]

3

主题

23

帖子

141

积分

论坛技术达人

积分
141
金钱
113
HASS币
0
发表于 2019-12-9 15:36:35 | 显示全部楼层 |阅读模式
本人刚刚入坑不久的新人,之前浏览前辈的帖子成功运行hf天气插件,但是见天突然不能使用了,不知道什么原因,请各位帮忙 看看,万分感谢,另外哪位知道天气插件中那个曲线如何自定义颜色和可以在点上显示数据的方法,也请告知,谢谢。
2019-12-09 15:22:43 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=53 from 2019-12-09 07:20:55.196519)
2019-12-09 15:22:43 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for hf_weather which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-12-09 15:26:42 ERROR (MainThread) [frontend.js.latest.201911196] http://192.168.22.25:8123/local/custom-lovelace/hf_weather-card/hf_weather-card.js:435:71 Uncaught TypeError: Cannot read property 'attributes' of null
2019-12-09 15:28:11 ERROR (MainThread) [frontend.js.latest.201911196] http://192.168.22.25:8123/local/custom-lovelace/hf_weather-card/hf_weather-card.js:435:71 Uncaught TypeError: Cannot read property 'attributes' of null
2019-12-09 15:29:51 ERROR (MainThread) [frontend.js.latest.201911196] http://192.168.22.25:8123/local/custom-lovelace/hf_weather-card/hf_weather-card.js:435:71 Uncaught TypeError: Cannot read property 'attributes' of null



PS:我确认城市代码和KEY都没问题,请问是不是雾霾天气的问题呢??
回复

使用道具 举报

0

主题

93

帖子

946

积分

高级会员

Rank: 4

积分
946
金钱
853
HASS币
0
发表于 2020-2-8 05:46:58 | 显示全部楼层
不是key的问题,是因为获取返回的中文天气状态插件常量没有定义,手动添加报错的天气就行了。
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-26 19:46 , Processed in 0.056718 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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