소스 검색

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