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

Update staniot_smart_security_panel.yaml

Corrections made according to the owner's instructions.
EmilianoMorello 8 месяцев назад
Родитель
Сommit
5bae76fa33

+ 2 - 11
custom_components/tuya_local/devices/staniot_smart_security_panel.yaml

@@ -18,13 +18,6 @@ entities:
             value: armed_home
           - dps_val: sos
             value: triggered
-      - id: 1
-        type: string
-        name: trigger
-        mapping:
-          - dps_val: sos
-            value: true
-          - value: false
   - entity: number
     name: Exit delay
     category: config
@@ -184,9 +177,8 @@ entities:
         type: boolean
         name: switch
   - entity: switch
-    name: Keys tone
+    translation_key: keytone
     category: config
-    icon: "mdi:keyboard"
     dps:
       - id: 29
         type: boolean
@@ -215,9 +207,8 @@ entities:
           - dps_val: alarm
             value: true
   - entity: select
-    name: Language
+    translation_key: language
     category: config
-    icon: "mdi:translate"
     dps:
       - id: 40
         type: string