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

Renamed arlec_dimmable_light to more generic dimmable_light.

The device uses the standard lightbulb DPs, just doesn't support most
of them.  Assume this will match other similarly limited bulbs.

PR #557
Jason Rumney 2 лет назад
Родитель
Сommit
ac3ebe1520
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      ACKNOWLEDGEMENTS.md
  2. 1 1
      DEVICES.md
  3. 1 1
      custom_components/tuya_local/devices/dimming_lightbulb.yaml

+ 1 - 1
ACKNOWLEDGEMENTS.md

@@ -222,5 +222,5 @@ Further device support has been made with the assistance of users.  Please consi
 - [AdamB2023](https://github.com/AdamB2023) for assisting with support for Klarta Humea humidifiers.
 - [M4R7IN5](https://github.com/M4R7IN5) for assisting with support for Lenovo E1 vacuum cleaners.
 - [pmazz](https://github.com/pmazz) for contributing Italian translations.
-- [thewolf-oz](https://github.com/thewolf-oz) for assisting with support for Arlec 12-speed tower fans, 6-speed floor fans and 19-speed wall fans.
+- [thewolf-oz](https://github.com/thewolf-oz) for assisting with support for Arlec 12-speed tower fans, 6-speed floor fans and 19-speed wall fans, and contributing support for Arlec/Deta dimming lightbulbs.
 - [dhuddle](https://github.com/dhuddle) for assisting with support for Chanfok ceiling fan with light, Inkbird BBQ thermometer and Lepro lights (variant of RGBCW light without timer).

+ 1 - 1
DEVICES.md

@@ -266,7 +266,7 @@ of device.
 
 ### Lights
 
-- Generic dimmable light
+- Generic dimmable light (2 types, using dp 1,2 and 20,22)
 - Generic RGBCW/RGBWW lightbulb (confirmed with Lijun branded bulb, expected to match others also). Two versions - with and without scene/music modes and timer.
 - Atomi smart color string light
 - Deta/Arlec motion sensor lights (DET100HA/DET102HA/MAL315HA)

+ 1 - 1
custom_components/tuya_local/devices/arlec_dimming_lightbulb.yaml → custom_components/tuya_local/devices/dimming_lightbulb.yaml

@@ -1,4 +1,4 @@
-name: Arlec lightbulb
+name: Dimming lightbulb
 products:
   - id: uoqzzanrvopvxddl
     name: Deta Grid Connect Smart 18W 1900lm Daylight T8 Tube DET018HA