Przeglądaj źródła

Carson CB: make temperature dp optional

It seems at least the Shinco device is not always sending the temperature
dp when in FAN mode.

Issue #1032
Jason Rumney 2 lat temu
rodzic
commit
cb5ee7a573

+ 2 - 1
custom_components/tuya_local/devices/carson_cb.yaml

@@ -42,6 +42,7 @@ primary_entity:
               range:
                 min: 60
                 max: 86
+      optional: true
     - id: 3
       name: current_temperature
       type: integer
@@ -80,7 +81,7 @@ primary_entity:
       name: fault_code2
       type: bitfield
       optional: true
-secondary_entitites:
+secondary_entities:
   - entity: select
     name: temperature unit
     icon: "mdi:temperature-celsius"