Explorar o código

Gautone alarm: Make mode notification switch optional

Seems this is not always reported.

Issue #1194
Jason Rumney %!s(int64=2) %!d(string=hai) anos
pai
achega
a067193f64

+ 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