Преглед изворни кода

Update hauschen_smart_mirror.yaml

Updated settings
xtaria пре 1 година
родитељ
комит
3789468a7e
1 измењених фајлова са 9 додато и 3 уклоњено
  1. 9 3
      custom_components/tuya_local/devices/hauschen_smart_mirror.yaml

+ 9 - 3
custom_components/tuya_local/devices/hauschen_smart_mirror.yaml

@@ -4,6 +4,7 @@ products:
     name: 48x36 Mirror
 primary_entity:
   entity: light
+  name: Light
   dps:
     - id: 1
       type: boolean
@@ -22,10 +23,15 @@ primary_entity:
       range:
         min: 0
         max: 255
+      mapping:
+        - target_range:
+            min: 2700
+            max: 6500
 secondary_entities:
-  - entity: heater
+  - entity: switch
+    name: Heater
     dps:
-      - id: 100
+      - id: 101
         type: boolean
+        optional: true
         name: switch
-