4
0
Эх сурвалжийг харах

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 сар өмнө
parent
commit
7938efbd97

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

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