Quellcode durchsuchen

PSmart T436: improve compatibility

hvac_action is not always reported by the device

Issue #2446
Jason Rumney vor 1 Jahr
Ursprung
Commit
e513705e36
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      custom_components/tuya_local/devices/psmart_t436_thermostat.yaml

+ 1 - 0
custom_components/tuya_local/devices/psmart_t436_thermostat.yaml

@@ -52,6 +52,7 @@ primary_entity:
     - id: 36
       type: string
       name: hvac_action
+      optional: true
       mapping:
         - dps_val: open
           value: heating