Forráskód Böngészése

add countdown entity

Vamp 4 éve
szülő
commit
c6277395cc
1 módosított fájl, 11 hozzáadás és 0 törlés
  1. 11 0
      custom_components/tuya_local/devices/tmwf02_fan.yaml

+ 11 - 0
custom_components/tuya_local/devices/tmwf02_fan.yaml

@@ -12,3 +12,14 @@ primary_entity:
       range:
         min: 1
         max: 100
+secondary_entities:
+  - entity: number
+    category: config
+    name: Timer
+    dps:
+      - id: 2
+        name: value
+        type: integer
+        range:
+          min: 0
+          max: 86400