mmakaay / esphome-xiaomi_bslamp2

ESPHome integration for the Xiaomi Mijia Bedside Lamp v2.
Other
205 stars 49 forks source link

Make use of component.update for pushing state to the LEDs #53

Open mmakaay opened 3 years ago

mmakaay commented 3 years ago

I currently have disco mode for the main LEDs and a separate front_panel.update_leds call for the front panel LEDs, but possibly the use of component.update is more standard? If it is, I will update the code to make use of it, instead of my own constructs.