效果图:
更新0.56之后支持history_graph了
在configuration.yaml加入以下代码:
history_graph:
gr1: ##ID,可以自己改
name: Lights Graph #名字
entities:
- light.ceiling.lights ##需要显示为图表的ID
- light.bed_light
hours_to_show: 240 #显示的小时数
refresh: 60 #刷新时间(单位秒)
gr2:
name: Temperature
entities:
- sensor.outside_temperature
- sensor.inside_temperature
hours_to_show: 120
官方地址:https://home-assistant.io/components/history_graph/
另外!哪位大神研究以下天猫精灵的接入啊
|