瀏覽代碼

fix(royalclima_fresh_climate): separate statistics

Statistics contains a timestamp that is continually updating. This
spams the recorder database with climate state.
Separate it out into its own sensor, to reduce the size of spammed data,
and make it disabled by default, as likely it will not be interesting to
most users.

Issue #3642
Jason Rumney 8 月之前
父節點
當前提交
82469c3c1c
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

+ 6 - 1
custom_components/tuya_local/devices/royalclima_fresh_climate.yaml

@@ -114,9 +114,14 @@ entities:
       - id: 133
         type: string
         name: swing_action
+  - entity: sensor
+    name: Statistics
+    category: diagnostic
+    hidden: true
+    dps:
       - id: 134
         type: json
-        name: statistics
+        name: sensor
   - entity: select
     name: Ventilation
     dps: