فهرست منبع

feat(aubess_1gang_switch): add local product id for T34+

Issue #6006

- add text entities for complex schedules and inching
Jason Rumney 9 ساعت پیش
والد
کامیت
ad00a3d4e8
1فایلهای تغییر یافته به همراه31 افزوده شده و 12 حذف شده
  1. 31 12
      custom_components/tuya_local/devices/aubess_1gang_switch.yaml

+ 31 - 12
custom_components/tuya_local/devices/aubess_1gang_switch.yaml

@@ -5,6 +5,8 @@ products:
     model: Smart Switch/EM
   - id: m4jtkjc43ltrilru
     model: T34 Smart Plug+
+  - id: keyjnuy4s3kre7m7
+    model: T34 Smart Plug+
   - id: apwf3sfwz51xuvht
     manufacturer: Moes
     model: WM-104-M
@@ -18,18 +20,6 @@ entities:
         name: test_bit
         type: integer
         optional: true
-      - id: 42
-        name: random_time
-        type: string
-        optional: true
-      - id: 43
-        name: cycle_time
-        type: string
-        optional: true
-      - id: 44
-        name: switch_inching
-        type: string
-        optional: true
   - entity: time
     translation_key: timer
     category: config
@@ -179,3 +169,32 @@ entities:
           - dps_val: null
             value: false
           - value: true
+  - entity: text
+    name: Random schedule
+    category: config
+    icon: "mdi:island"
+    hidden: true
+    dps:
+      - id: 42
+        type: string
+        optional: true
+        name: value
+  - entity: text
+    translation_key: schedule
+    category: config
+    hidden: true
+    dps:
+      - id: 43
+        type: string
+        optional: true
+        name: value
+  - entity: text
+    name: Inching
+    category: config
+    icon: "mdi:toggle-switch"
+    hidden: true
+    dps:
+      - id: 44
+        type: base64
+        optional: true
+        name: value