Sfoglia il codice sorgente

feat: add pause button to akai dryer

William Brockhus 2 anni fa
parent
commit
2e9c6f0d24
1 ha cambiato i file con 10 aggiunte e 0 eliminazioni
  1. 10 0
      custom_components/tuya_local/devices/akai_dryer.yaml

+ 10 - 0
custom_components/tuya_local/devices/akai_dryer.yaml

@@ -36,6 +36,16 @@ secondary_entities:
       - id: 105
         name: button # start
         type: boolean
+  - entity: button
+    name: Pause
+    icon: "mdi:pause"
+    dps:
+      - id: 105
+        name: button # start
+        type: boolean
+        mapping:
+          - dps_val: false
+            value: true
   - entity: select
     name: Drying mode
     icon: "mdi:tumble-dryer"