瀏覽代碼

Forgot to add the values

John Doe 1 年之前
父節點
當前提交
92dd83698f
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      custom_components/tuya_local/devices/YX-025WB_aroma_diffuser.yaml

+ 3 - 0
custom_components/tuya_local/devices/YX-025WB_aroma_diffuser.yaml

@@ -21,8 +21,11 @@ primary_entity:
       name: preset_mode
       mapping:
         - dps_val: small
+          value: small
         - dps_val: large
+          value: large
         - dps_val: interval
+          value: interval
 secondary_entities:
   - entity: light
     icon: "mdi:light-recessed"