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

STL siren: make switch optional

DP 104 does not appear in the log.
Jason Rumney пре 1 година
родитељ
комит
bf2fe9c2dd
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      custom_components/tuya_local/devices/stl_siren.yaml

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

@@ -37,6 +37,7 @@ primary_entity:
         max: 60
     - id: 104
       type: boolean
+      optional: true
       name: switch
 secondary_entities:
   - entity: sensor