Ver código fonte

ZX DB11B doorbell: minor tweaks before merge

Jason Rumney 2 anos atrás
pai
commit
0fdf61ca82

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

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