Просмотр исходного кода

Gautone alarm: Make mode notification switch optional

Seems this is not always reported.

Issue #1194
Jason Rumney 2 лет назад
Родитель
Сommit
a067193f64
1 измененных файлов с 1 добавлено и 0 удалено
  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
       - id: 10
         type: boolean
         type: boolean
         name: switch
         name: switch
+        optional: true
   - entity: switch
   - entity: switch
     name: Alarm notification
     name: Alarm notification
     category: config
     category: config