浏览代码

Korex kettle: disable keep warm temp when irrelevant

Avoid some confusion about which temperature to set by only enabling
the "Keep warm temperature" when the target temperature is set to boil,
and keep warm is enabled.

PR #3301
Jason Rumney 11 月之前
父节点
当前提交
b453a8069d
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      custom_components/tuya_local/devices/korex_axwf306n_smart_kettle.yaml

+ 10 - 0
custom_components/tuya_local/devices/korex_axwf306n_smart_kettle.yaml

@@ -194,3 +194,13 @@ entities:
             value: "55 C / 131 F"
           - dps_val: "10"
             value: "50 C / 122 F"
+      - id: 101
+        type: string
+        name: available
+        mapping:
+          - dps_val: "0"
+            value_redirect: keep_warm
+          - value: false
+      - id: 103
+        type: boolean
+        name: keep_warm