فهرست منبع

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 10 ماه پیش
والد
کامیت
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
       - id: 133
         type: string
         type: string
         name: swing_action
         name: swing_action
+  - entity: sensor
+    name: Statistics
+    category: diagnostic
+    hidden: true
+    dps:
       - id: 134
       - id: 134
         type: json
         type: json
-        name: statistics
+        name: sensor
   - entity: select
   - entity: select
     name: Ventilation
     name: Ventilation
     dps:
     dps: