20
348
2543
金牌会员
使用道具 举报
75
1976
8248
元老级技术达人
40
393
1764
咸味土豆 发表于 2018-3-1 09:56 帮顶,顺便学习一下。 取值是这样:
sensor: - platform: template sensors: xiaobai_wendu: friendly_name: 小白插座当前温度 value_template: '{{states.switch.xiaobai.attributes.temperature}}' unit_of_measurement: ℃
aobolee 发表于 2018-3-15 20:56 谢谢,成功了。[code]sensor: - platform: template sensors:
1
170
1165
LaunchTomorrow 发表于 2018-3-16 11:09 这是哪个插座,还有温度数据
4
100
691
高级会员
本版积分规则 发表回复 回帖后跳转到最后一页
经常参与各类话题的讨论,发帖内容较有主见
教程高产大神,简直就是为了教程而生~
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-2-24 06:56 , Processed in 0.250107 second(s), 33 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.