Explorar el Código

hot water (actual value) as sensor.

hcanIngo hace 1 año
padre
commit
18c8c5d66c
Se han modificado 1 ficheros con 5 adiciones y 3 borrados
  1. 5 3
      custom_components/tuya_local/devices/powerworld_pw040.yaml

+ 5 - 3
custom_components/tuya_local/devices/powerworld_pw040.yaml

@@ -15,14 +15,16 @@ entities:
         range:
           min: 30
           max: 55
-  - entity: number
+  - entity: sensor
     name: Warmwasser_T  # hot water (actual value)
-    category: config
+    class: temperature
+    category: diagnostic
     dps:
       - id: 108  # Warmwasser_T (ist): hot water (actual value)
         type: integer
-        name: value
         unit: C
+        name: sensor
+        class: measurement
       - id: 4
         hidden: true
         type: integer