# ChangeLog ## v0.5.2 - 2023-10-28 ### Enhancements: * Update LEDC low power code logic. * Modify the test cases and use the pytest tool for real hardware testing. ## v0.5.1 - 2023-10-26 ### Bug Fixes: * Fix phase delay for pwm cw channel. ## v0.5.0 - 2023-10-09 ### Enhancements: * Add a phase delay function to the PWM drive, and after enabling this function, all channel outputs will be in a complementary state. ## v0.4.1 - 2023-8-30 ### Bug Fixes: * Fixed a thread safety issue. * Fixed fade direction being reversed. ## v0.4.0 - 2023-7-10 ### Enhancements: * The PWM driver will update the timer resolution based on the incoming PWM frequency to accommodate a wider range of frequencies. * Remove the blocking check of the timer status in `lightbulb_basic_effect_start` to allow for subsequent calls within the callback. ## v0.3.3 - 2023-7-04 ### Bug Fixes: * Fixed a compilation problem caused by a macro naming error. ## v0.3.2 - 2023-6-02 ### Bug Fixes: * Fixed a thread safety issue ## v0.3.1 - 2023-5-15 ### Enhancements: * Add an active flag to gptimer to reduce invalid error print in the IDF gptimer driver ### Bug Fixes: * Fixed a wrong error on kelvin range ## v0.3.0 - 2023-5-8 ### Enhancements: * Provide an option to use gptimer instead of esptimer to generate ticks for the fade process ### Bug Fixes: * Fixed a wrong conversion on `percentage_convert_to_kelvin` ## v0.2.2 - 2023-3-10 ### Bug Fixes: * Fixed some wrong data types * Provides configuration options for the iic task instead of hardcoding * Added null pointer judgment to effect timer ## v0.2.1 - 2023-2-21 ### Bug Fixes: * Provide a workaround solution to temporarily solve the issue that LEDC hardware fade API calls are blocked Please read some description of the macro PWM_ENABLE_HW_FADE in Kconfig * Effect interrupt_forbidden flag will allow to set when total_ms == 0 ## v0.2.0 - 2023-2-8 ### Enhancements: * Add interrupt_forbidden flag in effect * Provide Yxy color model conversion function ### Bug Fixes: * Fix nvs structure naming error ## v0.1.0 - 2023-1-11 ### Enhancements: * Support running on ESP32-C6 ### Bug Fixes: * Fix kelvin 2 percentage * Fix effect timer time * Modify the logic of low power mode entry and exit ## v0.0.9 - 2022-12-28 ### Enhancements: * Provide an effect timer ## v0.0.8 - 2022-12-22 ### Enhancements: * Provide new application layer capability: enable/disable auto-open ## v0.0.7 - 2022-12-15 ### Enhancements: * Support running on ESP32-H2 ## v0.0.6 - 2022-12-05 ### Enhancements: * Support running on ESP32-C2 * Provide PWM signal invert ### Bug Fixes: * Fix LEDC output is disabled after the software reset ## v0.0.5 - 2022-12-02 ### Enhancements: * Support compiling with IDF 5.0 ### Bug Fixes: * Fix some drivers being power halved in white light mode * Fix some configuration errors in the demo ## v0.0.4 - 2022-11-10 ### Enhancements: * Support BP1658CJ IIC dimming chip ## v0.0.3 - 2022-10-26 ### Enhancements: * Support KP18058 IIC dimming chip ## v0.0.2 - 2022-10-26 ### Enhancements: * Support running on ESP32-S3 ### Bug Fixes: * Fix API `lightbulb_rgb2hsv` conversion error * Update some typo * `basis` -> `basic` * `mix` -> `min` ## v0.0.1 - 2022-8-29 ### Enhancements: * Initial version * The following dimming solutions are supported * PWM * RGB + CW * RGB + CCT/Brightness * IIC dimming IC * SM2135E * SM2135EH * SM2235EGH * SM2335EGH * BP5758/BP5758D/BP5768D * Single Line * WS2812 * Support for power limit * Support for color calibration * Support for effect * Blink * Breathe * Support for application layer capability configuration * Status memory * Fade * Mix CCT * Low-power * Light mode select * Sync change
idf.py add-dependency "espressif/lightbulb_driver^0.5.2"