瀏覽代碼

Added `swing_mode` value mapping

Added missing `swing_mode` value mapping to the portable air conditioner.
Zelaf Ary 1 年之前
父節點
當前提交
7ddaf50c8d
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      custom_components/tuya_local/devices/nedis_mobile_airconditioner.yaml

+ 6 - 1
custom_components/tuya_local/devices/nedis_mobile_airconditioner.yaml

@@ -58,7 +58,12 @@ primary_entity:
       name: feature_flags
     - id: 110
       type: boolean
-      name: swing_2
+      name: swing_mode
+      mapping:
+        - dps_val: true
+          value: "vertical"
+        - dps_val: false
+          value: "off"
 secondary_entities:
   - entity: switch
     translation_key: ionizer