소스 검색

fix(loonas_curtain): fix problem sensor type

Type was inconsistent between sensor and attribute, preventing matches based
on dps.

PR #3594
Jason Rumney 10 달 전
부모
커밋
f27b011923
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      custom_components/tuya_local/devices/loonas_curtain.yaml

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

@@ -61,7 +61,7 @@ entities:
     category: diagnostic
     category: diagnostic
     dps:
     dps:
       - id: 12
       - id: 12
-        type: boolean
+        type: bitfield
         name: sensor
         name: sensor
         optional: true
         optional: true
         persist: false
         persist: false