소스 검색

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
         unit: "%"
         class: measurement
-      - id: 16
+      - id: 14
         type: string
         name: level
   - entity: switch