Quellcode durchsuchen

feat (haier_airwater_heatpump): use a time entity to set the time

The time was exposed as a text entity, but is a prime candidate for the
time entity. Now does not need to be hidden by default, as it does not
take technical knowledge to make use of.

Format decoded from logs on #4701
Jason Rumney vor 1 Monat
Ursprung
Commit
e6fc58dbb0
1 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen
  1. 14 0
      custom_components/tuya_local/devices/haier_airwater_heatpump.yaml

+ 14 - 0
custom_components/tuya_local/devices/haier_airwater_heatpump.yaml

@@ -65,11 +65,25 @@ entities:
         range:
           min: 25
           max: 75
+  - entity: time
+    category: config
+    dps:
+      - id: 103
+        type: base64
+        optional: true
+        mask: "FF00"
+        name: hour
+      - id: 103
+        type: base64
+        optional: true
+        mask: "00FF"
+        name: minute
   - entity: text
     name: Time
     category: config
     icon: "mdi:clock"
     hidden: true
+    deprecated: time  # 2026-03-17
     dps:
       - id: 103
         type: base64