Просмотр исходного кода

Update moes_motionsensor_switch.yaml

Daniel Levine 1 год назад
Родитель
Сommit
82ff106cfe

+ 4 - 2
custom_components/tuya_local/devices/moes_motionsensor_switch.yaml

@@ -55,9 +55,10 @@ secondary_entities:
           - dps_val: relay
             value: Indicate switch on/off
   - entity: switch
+    name: Illuminance Switch
     dps:
       - id: 43
-        name: Illuminance Switch
+        name: switch
         type: boolean
   - entity: select
     name: Illuminance Threshold
@@ -72,9 +73,10 @@ secondary_entities:
           - dps_val: now
             value: Current Illuminance
   - entity: switch
+    name: Motion Switch
     dps:
       - id: 46
-        name: Motion Switch
+        name: switch
         type: boolean
   - entity: select
     name: Motion Sensitivity