Procházet zdrojové kódy

Create kesser_infrared_heater_floodlights.yaml

Chris B před 1 rokem
rodič
revize
8fa68de7aa

+ 36 - 0
custom_components/tuya_local/devices/kesser_infrared_heater_floodlights.yaml

@@ -0,0 +1,36 @@
+name: Infrared heater floodlights
+products:
+  - id: trsas9jlfgcbxhq9
+    name: Kesser 3000W
+primary_entity:
+  entity: switch
+  name: Power
+  icon: "mdi:radiator"
+  dps:
+    - id: 1
+      type: boolean
+      name: switch
+secondary_entities:
+  - entity: select
+    name: Mode
+    icon: "mdi:radiator"
+    dps:
+      - id: 4
+        type: string
+        name: option
+        mapping:
+          - dps_val: "P0"
+            value: "Off"
+          - dps_val: "P1"
+            value: "1000W"
+          - dps_val: "P2"
+            value: "2000W"
+          - dps_val: "P3"
+            value: "3000W"
+  - entity: light
+    name: floodlight
+    icon: "mdi:lightbulb"
+    dps:
+      - id: 10
+        type: boolean
+        name: switch