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

Hornbill Y4: do not override translated name unnecessarily

Overriding the name just to prefix it with "Lock" is not neccesarily (the device name contains "lock" already)
PR #3017
Jason Rumney 11 месяцев назад
Родитель
Сommit
7938efbd97
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      custom_components/tuya_local/devices/hornbill_y4_smart_lock.yaml

+ 1 - 2
custom_components/tuya_local/devices/hornbill_y4_smart_lock.yaml

@@ -340,7 +340,6 @@ entities:
   - entity: select
     translation_key: language
     category: config
-    name: Door Lock Language
     dps:
       - id: 28
         type: string
@@ -356,7 +355,7 @@ entities:
   # product supports door lock volume adjustment and the user is allowed to
   # switch the operation on the app.
   - entity: select
-    name: Lock volume
+    name: Volume
     category: config
     dps:
       - id: 31