| 本帖最后由 hassio-newbie 于 2019-6-10 19:45 编辑 
 决定新写这个组件之前参考了@xiamiok的组件,核心功能是一样的,区别是我是使用v2.5的API进行解析,多支持一些天气条件,多增加了一些属性
 
 也看了@plutosherry的组件,界面很不错,就是使用rest api形式的sensor配置一堆,这样数据库存取的历史数据会越来越多,不太适合我。如果@plutosherry的card组件,可以配置一个weather.entity就能展示出好看的效果就完美了~
 
 [更新] Yonsm大神的彩云插件也很不错,我写之前没发现,大家按需挑选  https://github.com/Yonsm/HAExtra
 
 基于这些研究,我想要的是开发一个标准的weather组件,可以直接使用weather-forecast 以及 custom:weather-card,因为这些组件直接配置一个weather.entity_id就可以很好的展示了。
 
 没有隐藏内容,有问题留言,没问题无需顶帖~
 
 项目主页: https://github.com/jihao/colorfulclouds-hass,支持custom_updater,应该也支持新的hacs(Home Assistant Community Store)
 
 
 custom_updater方式安装:
 
 
custom_updater:
  track:
    - cards
    - components
  component_urls:
    - [url=https://raw.githubusercontent.com/jihao/colorfulclouds-hass/master/colorfulclouds.json]https://raw.githubusercontent.co ... colorfulclouds.json[/url]
    - ...
 
 手工安装:
 应该都会把,从github下载最新zip ,保存到你的custom_components/colorfulclouds
 
 
 配置:
 
 
weather:
  - platform: colorfulclouds
    api_key: YOUR_API_KEY 
    latitude: 30.7046
    longitude: 121.6544
 
 效果预览:
 
 
 
 
 
 
 
 
 
 最后欢迎大家关注我的公众号 “Jarvis诞生记”,有一些智能家居DIY方面的技术干货文章。
 
 
 
 
 
 |