Преглед на файлове

fix(homend_royaltea_kettle): remove complex attempt to merge temperatures

The logic that was attempted is not enabled in the code.
In any case, it is not certain that this is the right thing to do, so it
is better to KISS.

Issue #3341
Jason Rumney преди 1 година
родител
ревизия
2005ebb5ba
променени са 1 файла, в които са добавени 0 реда и са изтрити 28 реда
  1. 0 28
      custom_components/tuya_local/devices/homend_royaltea_kettle.yaml

+ 0 - 28
custom_components/tuya_local/devices/homend_royaltea_kettle.yaml

@@ -25,32 +25,6 @@ entities:
         range:
           min: 0
           max: 100
-        mapping:
-          - constraint: temp_mode
-            conditions:
-              - dps_val: temp_setting
-                readonly: true
-                value_mapping: quick_temp
-              - dps_val: temp_baby
-                # probably fixed at 65, but not sure
-                invalid: true
-      - id: 4
-        type: string
-        hidden: true
-        name: quick_temp
-        mapping:
-          - dps_val: "50"
-            value: 50
-          - dps_val: "65"
-            value: 65
-          - dps_val: "85"
-            value: 85
-          - dps_val: "90"
-            value: 90
-      - id: 16
-        type: string
-        name: temp_mode
-        hidden: true
   - entity: select
     translation_key: kettle_mode
     dps:
@@ -183,5 +157,3 @@ entities:
             value: Tone 9
           - dps_val: AR9
             value: Tone 10
-
-