Просмотр исходного кода

Korex kettle: fix incorrect change to mapping for unit

Jason Rumney 11 месяцев назад
Родитель
Сommit
de0e08770e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      custom_components/tuya_local/devices/korex_axwf306n_smart_kettle.yaml

+ 4 - 4
custom_components/tuya_local/devices/korex_axwf306n_smart_kettle.yaml

@@ -102,10 +102,10 @@ entities:
         type: string
         type: string
         name: temperature_unit
         name: temperature_unit
         mapping:
         mapping:
-          - dps_val: C
-            value: true
-          - dps_val: F
-            value: false
+          - dps_val: c
+            value: C
+          - dps_val: f
+            value: F
   - entity: sensor
   - entity: sensor
     translation_key: status
     translation_key: status
     class: enum
     class: enum