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

Add support for Ledkia fan and light controller.

This has a light type switch according to the docs at iot.tuya.com, though the value is not showing in the sample data captured by the log.

Since the colour temperature and color options only make sense for LED lights, this is used to restrict those settings to only when LED lights are configured.  But if that value is never returned, then it will always only work as a dimmer.  In any case, we cannot know the capabilities of the LED bulb fitted - some are not even dimmable.

Issue #234
Jason Rumney 3 лет назад
Родитель
Сommit
0c5945d0f0
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      ACKNOWLEDGEMENTS.md
  2. 1 0
      README.md

+ 1 - 0
ACKNOWLEDGEMENTS.md

@@ -114,3 +114,4 @@ Further device support has been made with the assistance of users.  Please consi
 - [sebastiangebosz](https://github.com/sebastiangebosz) for contributing improvements to Eberg Qubo heatpumps.
 - [VoyteckPL](https://github.com/VoyteckPL) for contributing support for Fairland IPHCR15 pool heatpumps.
 - [AlfredBroda](https://github.com/AlfredBroda) for contributing support for Beok TGR81 thermostats.
+- [bedtiming](https://github.com/bedtiming) for assisting with support for Ledkia fan and light controllers.

+ 1 - 0
README.md

@@ -130,6 +130,7 @@ If you submit a pull request, please understand that the config file naming and
 - Stirling FS1-40DC Pedestal fan
 - Aspen ASP 200 fan
 - TMWF02 fan controller
+- Ledkia Fan and Light controller
 
 ### Air Purifiers
 - Renpho RP-AP001S air purifier