소스 검색

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 1 년 전
부모
커밋
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