Răsfoiți Sursa

STL siren: make switch optional

DP 104 does not appear in the log.
Jason Rumney 1 an în urmă
părinte
comite
bf2fe9c2dd
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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