7 Commits (a5850e2bb212281362e6e997e33035546dc52aa0)

Author SHA1 Message Date
  Maurice Makaay c90d9677f8 Applied ESPHome-style code styling. 3 years ago
  Maurice Makaay f85ff71d43
Add support for presets (#9) 3 years ago
  Maurice Makaay cf397858ba Big change: renamed yeelight_bs2 to xiaomi_bslamp2 3 years ago
  Maurice Makaay d1d9ecea95 Added a text_sensor, which propagates the current light mode. This is one of "off", "rgb", "white" and "night". 3 years ago
  Maurice Makaay 00941c6975 Fixed some method access levels that got messy over time. 3 years ago
  Maurice Makaay e29968d86a Introduced a HUB component + front panel IRQ handling 3 years ago
  Maurice Makaay edcadc146c Moved the finished light component into its own subdirectory to keep things clean when implementing other components. 3 years ago
  Maurice Makaay 46e4b69c7c Another round of code cleanup. Almost done, one more pass and I'm good to continue with the next task: the touch panel. 3 years ago
  Maurice Makaay 4e323c76ff A round of code cleanup. 3 years ago
  Maurice Makaay abe8137b42 Transitioning to off works too now. Transitioning to on needs some more work (it is now instant, but that won't be hard to implement correctly). 3 years ago
  Maurice Makaay bb91890389 New light transition code implemented and it works beautifully! Transitions between RGB colors and RGB to and from white light now look smooth. Some more code cleanup in the next step, but already loving how this is coming together now. 3 years ago