فهرست منبع

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