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

Update pir_sensor_alarm.yaml

syntax correction
EmilianoMorello 1 год назад
Родитель
Сommit
e1923ced3d
1 измененных файлов с 5 добавлено и 4 удалено
  1. 5 4
      custom_components/tuya_local/devices/pir_sensor_alarm.yaml

+ 5 - 4
custom_components/tuya_local/devices/pir_sensor_alarm.yaml

@@ -4,9 +4,9 @@ products:
 entities:
   - entity: binary_sensor
     translation_key: motion
-    class: motion 
+    class: motion
     dps:
-      - id: 1 
+      - id: 1
         type: string
         name: sensor
         mapping:
@@ -51,7 +51,7 @@ entities:
           min: 0
           max: 255
   - entity: select
-    name:  Warning mode
+    name: Warning mode
     icon: "mdi:cog"
     category: config
     dps:
@@ -66,4 +66,5 @@ entities:
           - dps_val: "OnlySound_mode"
             value: "Only Sound"
           - dps_val: "Mute_mode"
-            value: "No Sound no Light"
+            value: "No Sound no Light"
+