浏览代码

Smoke detector: Use correct dp for battery level

Battery level (string) was the dp before the numeric level.

Issue #2520
Jason Rumney 1 年之前
父节点
当前提交
f9140650a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      custom_components/tuya_local/devices/smoke_detector.yaml

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

@@ -45,7 +45,7 @@ secondary_entities:
         name: sensor
         name: sensor
         unit: "%"
         unit: "%"
         class: measurement
         class: measurement
-      - id: 16
+      - id: 14
         type: string
         type: string
         name: level
         name: level
   - entity: switch
   - entity: switch