Преглед изворни кода

Moes TRV: make holiday switch optional

Issue #1891
Jason Rumney пре 2 година
родитељ
комит
bb4bde0682
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      custom_components/tuya_local/devices/moes_trv_thermostat.yaml

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

@@ -102,6 +102,7 @@ secondary_entities:
       - id: 1
         type: string
         name: switch
+        optional: true
         mapping:
           - dps_val: holidays
             value: true