瀏覽代碼

RoyalClima Fresh: add a digit of precision, and remove whitespace

PR #2037
Jason Rumney 1 年之前
父節點
當前提交
b8714e2d9c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

+ 2 - 2
custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

@@ -379,7 +379,7 @@ secondary_entities:
         type: integer
         name: sensor
         unit: W
-        precision: 0
-        class: measurement    
+        precision: 1
+        class: measurement
         mapping:
           - scale: 30