20
328
2545
金牌会员
使用道具 举报
75
1901
8282
元老级技术达人
40
353
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
169
1165
LaunchTomorrow 发表于 2018-3-16 11:09 这是哪个插座,还有温度数据
4
96
691
高级会员
本版积分规则 发表回复 回帖后跳转到最后一页
经常参与各类话题的讨论,发帖内容较有主见
教程高产大神,简直就是为了教程而生~
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2025-5-4 10:03 , Processed in 0.070365 second(s), 27 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.