Explorar o código

STL siren: make switch optional

DP 104 does not appear in the log.
Jason Rumney hai 1 ano
pai
achega
bf2fe9c2dd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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