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

Trotec PAC-W: change fault_code type

Alexander Knöbel 2 лет назад
Родитель
Сommit
d7a252842d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

+ 2 - 2
custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

@@ -71,13 +71,13 @@ primary_entity:
       type: integer
     - id: 106
       name: fault_code
-      type: integer
+      type: bitfield
     - id: 110
       name: model
       type: string
     - id: 111
       name: fault_code2
-      type: integer
+      type: bitfield
 secondary_entities:
   - entity: switch
     name: Sleep