28
83
912
高级会员
{"sensor.zhi_neng_guang_gan_wen_du_ji_zigbeeban_temperature":"28.5","input_number.room1_temp":"23.0"}
使用道具 举报
2
95
984
{{ ( states("sensor.a4c138cffac4_temperature")|float - states("sensor.a4c138519345_temperature")|float ) >5.0 }}
tty228 发表于 2022-4-10 13:09 不过不知道绝对值怎么设置
7
349
3231
论坛元老
[{"id":"4726c049b9719a3a","type":"function","z":"2359a6f.6d6f85a","name":"Subtraction","func":"msg.payload = msg.payload = Number(msg.payload["sensor.zhi_neng_guang_gan_wen_du_ji_zigbeeban_temperature"]) - Number(msg.payload["input_number.room1_temp"]);\nmsg.topic = "Number";\nreturn msg;","outputs":2,"noerr":0,"initialize":"","finalize":"","libs":[],"x":750,"y":120,"wires":[["4f60921e7fa4482c"],[]]}]
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian
GMT+8, 2024-11-24 18:10 , Processed in 0.079102 second(s), 26 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.