20 Commits (5fc4290eb6d34bb190d906d94f29d7e938c9eaa7)

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 207bcd5508 Implementd actions for activating a preset group or a specific preset. 3 years ago
  Maurice Makaay b28bf11c35 The activate_preset action now supports simple string values. 3 years ago
  Maurice Makaay 0d90e8456b Automation actions "next preset group" and "next preset" implemented. 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 00941c6975 Fixed some method access levels that got messy over time. 3 years ago
  Maurice Makaay 0ea3651056 pass target brightness to on_brightness handlers, instead of actual brightness, during transitions. 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 b340ede5b3 Implemented the I2C messgage to event type parser. 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