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

fix(kogan_yawfpac09ya_airconditioner): match new variant

There is a new variant which does not output the current temperature with
the initial poll (even with the device on).

Issue #3446
Jason Rumney 8 месяцев назад
Родитель
Сommit
22a0f3afa4

+ 6 - 1
custom_components/tuya_local/devices/kogan_kawfpac09ya_airconditioner.yaml

@@ -2,7 +2,11 @@ name: Air conditioner
 products:
   - id: mhod7aykax0wbivn
     manufacturer: Kogan
-    model: SmarterHome portable air conditioner
+    model: Y09
+    model_id: KAWFPAC09YA
+  - id: hh0cq7yuqwkzg213
+    manufacturer: Kogan
+    model: Y09
     model_id: KAWFPAC09YA
 entities:
   - entity: climate
@@ -37,6 +41,7 @@ entities:
                   max: 86
       - id: 3
         type: integer
+        optional: true
         name: current_temperature
       - id: 4
         type: string