15 Commits (1a36b62c80bb93b424bf26fc45a1e2e5198c516f)

Author SHA1 Message Date
  Maurice Makaay 5fc4290eb6 Presets can now use brightness, transition_length and effect. I also switched from using prepared LightCall objects to my own property storage that creates a new LightCall when a preset must be activated. I found that a LightCall should only be called once. Its internal state gets modified when calling perform() on it. Too bad, since it forced me into doing some duplicate coding, but I'm happy with the end result. 3 years ago
  Maurice Makaay b28bf11c35 The activate_preset action now supports simple string values. 3 years ago
  Maurice Makaay 31ae3b5123 Added an ActivatePresetAction, which will be used to apply presets from automations. 3 years ago
  Maurice Makaay 9621cef407 Implemented a yaml-configurable store for color presets. 3 years ago
  Maurice Makaay cf397858ba Big change: renamed yeelight_bs2 to xiaomi_bslamp2 3 years ago
  Maurice Makaay 0ac7589484 Some changes to make the text_sensor work for logic expressions. 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 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 e5612e8235 What's better than one hub? Two HALs! I split up the HUB component into two separated components with the same kind of function: LightHAL and FrontPanelHAL. 3 years ago
  Maurice Makaay c161a12664 Added a light HAL to the hub component. 3 years ago
  Maurice Makaay 90fc42e141 Moved the last few light GPIO pins into the HUB comopnent. 3 years ago
  Maurice Makaay e29968d86a Introduced a HUB component + front panel IRQ handling 3 years ago
  Maurice Makaay 9edea79ff7 Fixed error when using light ID in an automation 3 years ago
  Maurice Makaay 4410d1475a Added on_brightness automation trigger to the light output. 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 d330894fdc Started my own derived LightState class to get more control over the light's transitioning behavior. 3 years ago
  Maurice Makaay b960a5bee9 New implementation for RGB colors. It needs a round of code cleanup, but it is functional as-is. 3 years ago
  Maurice Makaay d1f3c92fd7 Added a white light implementation. Firmware is now in a broken state, but transitioning to something good here. 3 years ago
  Maurice Makaay a99e2f1145 Work-around for the turn off transition issue. 3 years ago
  Maurice Makaay c24fa132a0 Improved documentation. 3 years ago
  Maurice Makaay 6c5c6ca5cc Moved to a proper ESPHome component structure. 3 years ago