Explorar el Código

Gautone alarm: Make mode notification switch optional

Seems this is not always reported.

Issue #1194
Jason Rumney hace 2 años
padre
commit
a067193f64
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      custom_components/tuya_local/devices/gautone_pg103_alarm.yaml

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

@@ -91,6 +91,7 @@ secondary_entities:
       - id: 10
         type: boolean
         name: switch
+        optional: true
   - entity: switch
     name: Alarm notification
     category: config