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

fix(lsc_smart_ceiling_light): leave lights available

When main switch is switched off, just leave the lights available.
Making them conditionally available depending on main switch was an unpopular choice.

Comments on PR #2359
Jason Rumney 19 часов назад
Родитель
Сommit
9f3493f0a7
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      custom_components/tuya_local/devices/lsc_smart_ceiling_light.yaml

+ 0 - 6
custom_components/tuya_local/devices/lsc_smart_ceiling_light.yaml

@@ -15,9 +15,6 @@ entities:
       - id: 63
         type: boolean
         name: switch
-      - id: 20
-        type: boolean
-        name: available
       - id: 22
         name: brightness
         type: integer
@@ -42,9 +39,6 @@ entities:
       - id: 54
         type: boolean
         name: switch
-      - id: 20
-        type: boolean
-        name: available
       - id: 24
         name: rgbhsv
         type: hex