瀏覽代碼

Update moes_motionsensor_switch.yaml

Daniel Levine 1 年之前
父節點
當前提交
82ff106cfe
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      custom_components/tuya_local/devices/moes_motionsensor_switch.yaml

+ 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