本帖最后由 s6066131 于 2017-10-2 14:34 编辑
无意中浏览文档 发现这个很不错的卡片,简单明了,直接能显示未来5天的温度数据曲线,拿出来推荐给喜欢的朋友
不多说 先上图
Homeassistant 本身就支持,我们只需要在configuration.yaml加上两行代码就OK
首先我们去https://www.openweathermap.org/注册账号 获得API
要注意,API在注册后,需要10分钟的激活时间,耐心等待耐心等待
然后加入
weather:
- platform: openweathermap
api_key: !secret openweathermap_api_key
group:
openweathermap:
view: no
entities:
- weather.openweathermap
|