소스 검색

smartplugv2_energyv3: mark some attributes optional

To improve compatibility, mark the timers and inching (which are all too
complex to properly support) as optional.  Others with entities assigned are
left unmarked, as there are other configs that might start to conflict.
Jason Rumney 3 년 전
부모
커밋
f8bdd7a114
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      custom_components/tuya_local/devices/smartplugv2_energyv3.yaml

+ 3 - 0
custom_components/tuya_local/devices/smartplugv2_energyv3.yaml

@@ -20,12 +20,15 @@ primary_entity:
     - id: 42
       type: base64
       name: cycle_timer
+      optional: true
     - id: 43
       type: base64
       name: random_timer
+      optional: true
     - id: 44
       type: base64
       name: inching
+      optional: true
 secondary_entities:
   - entity: number
     category: config