فهرست منبع

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 3 روز پیش
والد
کامیت
e6fc58dbb0
1فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  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:
         range:
           min: 25
           min: 25
           max: 75
           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
   - entity: text
     name: Time
     name: Time
     category: config
     category: config
     icon: "mdi:clock"
     icon: "mdi:clock"
     hidden: true
     hidden: true
+    deprecated: time  # 2026-03-17
     dps:
     dps:
       - id: 103
       - id: 103
         type: base64
         type: base64