7
183
1962
金牌会员
使用道具 举报
55
1404
6345
论坛DIY达人
sorrypqa 发表于 2023-2-8 10:56 您的这行- lambda: return x * 0.001;是问题还是答案??
8
686
4703
论坛元老
78
1346
2万
元老级技术达人
energy: name: "IN_energy" filters: - lambda: return x /1000; unit_of_measurement: "kWh" accuracy_decimals: 2 #保留小数位
Got an energy sensor in Wh, but you’d like it to be kWh? You can now change the units of energy sensors in the entity settings.
dscao 发表于 2023-2-8 11:59
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )
GMT+8, 2025-5-18 23:59 , Processed in 0.157110 second(s), 23 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.