소스 검색

ZX DB11B doorbell: minor tweaks before merge

Jason Rumney 2 년 전
부모
커밋
0fdf61ca82
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      custom_components/tuya_local/devices/zx_db11b_doorbell_alarm.yaml

+ 1 - 1
custom_components/tuya_local/devices/zx_db11b_doorbell_alarm.yaml

@@ -247,7 +247,6 @@ secondary_entities:
         unit: "%"
         class: measurement
   - entity: binary_sensor
-    name: Battery low
     class: battery
     category: diagnostic
     dps:
@@ -327,6 +326,7 @@ secondary_entities:
             icon: "mdi:volume-mute"
   - entity: button
     name: Factory reset
+    class: restart
     category: config
     dps:
       - id: 34