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

Medion LIFE P1002: add raw fault code to problem sensor, naming

Jason Rumney 1 год назад
Родитель
Сommit
9e562f7d51
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      custom_components/tuya_local/devices/medion_life_p1002.yaml

+ 5 - 2
custom_components/tuya_local/devices/medion_life_p1002.yaml

@@ -1,7 +1,7 @@
-name: Portable Air Conditioner
+name: Portable air conditioner
 products:
   - id: tqgodaa9suvtbflg
-    name: MEDION AIR Conditioner P1002
+    name: Medion LIFE P1002
 primary_entity:
   entity: climate
   icon: "mdi:air-conditioner"
@@ -70,6 +70,9 @@ secondary_entities:
           - dps_val: 0
             value: false
           - value: true
+      - id: 22
+        type: bitfield
+        name: fault_code
   - entity: switch
     name: Sleep
     icon: "mdi:power-sleep"