4 Commits (871b9fdf255d9e6338ddcad8b74ab8d59b51779c)

Author SHA1 Message Date
  Maurice Makaay c90d9677f8 Applied ESPHome-style code styling. 3 years ago
  Maurice Makaay b690c290cf
Multi touch events (#17) 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 57e74e9e6e Implemented a float output, that is used to control the front panel light. 3 years ago
  Maurice Makaay 5e328bef8f Implemented the slider sensor, which is used to publish a slider level when the slider is touched. The example yaml files now use this sensor to update the brightness of the LEDs. 3 years ago
  Maurice Makaay ec8205d32e Added a binary sensor component, which can be used to handle touch/release events for the parts of the front panel (power button, color button and slider). Note that for the slider, this binary_sensor only detects the touch events. This cannot be used for detecting the actual slider level that was touch. For that purpose, a separate sensor will be created. 3 years ago