Parcourir la source

add countdown entity

Vamp il y a 4 ans
Parent
commit
c6277395cc
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  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