Browse Source

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 6 months ago
parent
commit
82469c3c1c

+ 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: