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

WHM04 doorbell: make volume optional, for Cotinse compatiblity

Cotinse doorbell is not quite compatible, as it only supports 32 tones
so product id is not attached, but since we don't have a list of the
tones it is not worth creating a new config for it.

Issue #3246
Jason Rumney 8 месяцев назад
Родитель
Сommit
e5282aa92a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      custom_components/tuya_local/devices/whm04_doorbell.yaml

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

@@ -93,6 +93,7 @@ entities:
             value: Alarm
       - id: 3
         type: integer
+        optional: true
         name: volume_level
         range:
           min: 0