7
183
1992
金牌会员
使用道具 举报
58
1456
6853
元老级技术达人
sorrypqa 发表于 2023-2-8 10:56 您的这行- lambda: return x * 0.001;是问题还是答案??
8
687
4763
论坛元老
80
1394
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-7-6 17:48 , Processed in 0.049894 second(s), 10 queries , MemCached On.
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.