1
71
277
中级会员
使用道具 举报
2
87
293
0
94
340
36
456
论坛分享达人
<template is="dom-if" if="[[realtime.wind.direction]]"> <li> <iron-icon icon="mdi:compass"></iron-icon>风向:[[direction]] </template> <template is="dom-if" if="[[realtime.wind.speed]]"> <li> <iron-icon icon="mdi:weather-windy"></iron-icon>风速:[[windSpeed]] <span class="unit">km/h</span></li> </template>
25
662
3630
论坛元老
倾微qiwe 发表于 2018-6-17 22:50 如果仅仅是把其它ID的信息显示出来可以在script中这样return: aaa: function(hass) { var id = 'sensor.d ...
23
236
1051
金牌会员
aktifin 发表于 2018-6-19 13:14 继续优化界面,整合斐讯M1
aktifin 发表于 2018-6-16 20:54 用上了,完美!
41
136
注册会员
本版积分规则 发表回复 回帖后跳转到最后一页
经常参与各类话题的讨论,发帖内容较有主见
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-9 02:20 , Processed in 0.345127 second(s), 24 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.