소스 검색

Carson CB: make temperature dp optional

It seems at least the Shinco device is not always sending the temperature
dp when in FAN mode.

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

+ 2 - 1
custom_components/tuya_local/devices/carson_cb.yaml

@@ -42,6 +42,7 @@ primary_entity:
               range:
                 min: 60
                 max: 86
+      optional: true
     - id: 3
       name: current_temperature
       type: integer
@@ -80,7 +81,7 @@ primary_entity:
       name: fault_code2
       type: bitfield
       optional: true
-secondary_entitites:
+secondary_entities:
   - entity: select
     name: temperature unit
     icon: "mdi:temperature-celsius"