فهرست منبع

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: