فهرست منبع

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 1 ماه پیش
والد
کامیت
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:
           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