You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
4.6 KiB

  1. # Changelog
  2. All notable changes to this project will be documented in this file.
  3. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
  4. and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
  5. ## [Not yet released]
  6. ### Added
  7. - Implemented support for visual feedback during the OTA flashing process in the
  8. `example.yaml` file: the light becomes blue during the process, the brightness bar
  9. represents the update progress, when updating fails the light flashes red and when it
  10. completes successfuly, the light flashes green.
  11. ## [1.1.0-RC1]
  12. **Note**: This release requires ESPHome v1.19.0 or newer.
  13. ### Changed
  14. - Made it possible to use lambdas with the `preset.activate` automation. This makes it
  15. possible to link the action to an api service, which exposes the preset functionality
  16. to Home Assistant. The `example.yaml` has been updated with an example for this.
  17. - Fixed a rounding error in the slider sensor component. When using custom "range from" / "range to"
  18. settings, the maximum value could exceed the "range to" value due to rounding errors.
  19. Thanks to Jos for the heads up!
  20. - Made the codebase compatible with ESPHome v1.19.0
  21. ([PR #1657: Introduce new async-def coroutine syntax](https://github.com/esphome/esphome/pull/1657))
  22. Thanks to @Kaibob2 for giving me a heads up that my code was not compiling anymore!
  23. ## [1.0.0]
  24. **Note**: This release requires ESPHome v1.18.0 or newer.
  25. ### Changed
  26. - The GitHub repository structure has been updated, in order to make it compatible with
  27. the new `external_components` feature of ESPHome v1.18.0. From now on, the code from this
  28. repository no longer has to be downloaded and installed manually. The `example.yaml` has
  29. been updated for using this new feature.
  30. Fixes [issue #16](https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/16).
  31. - A fix has been implemented to prevent the lamp from being disconnected from Home Assistant
  32. a lot (resulting in the lamp becoming unavailable). ESPHome v1.18.0 or newer is required
  33. for making this fix work.
  34. Fixes [issue #19](https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/19).
  35. - Transitions are now fully suppressed when in night light mode. In that mode, LED output
  36. levels are too low for producing good looking transitions.
  37. Fixes [issue #10](https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/10).
  38. - The `example.yaml` now uses my own arduino-esp32 unicore build.
  39. - Formatted the codebase using the ESPHome clang rules.
  40. - The flashing guide got a big update, with detailed pictures for every step on the way.
  41. ### Added
  42. - New documentation section: Technical details (it's all about the internals)
  43. ### Removed
  44. - The known issue documentation page has been removed, now we have a fix for the disconnect
  45. issues in ESPHome v1.18.0.
  46. ## [1.0.0-RC1]
  47. ### Changed
  48. - The documentation has been restructured.
  49. ### Added
  50. - Support for disco mode-style light updates through the `light.disco_on` and `light.disco_off` actions.
  51. The `light.disco_on` action can be used to configure the lamp state without delay, without publishing
  52. the update and without saving the state. The `light.disco_off` action will restore the lamp to its
  53. last save state, so from before the `light.disco_on` updates.
  54. - Support for configuring light presets, making it possible to mimic the lamp's original firmware
  55. feature to switch light color using the color button.
  56. This fixes [issue #8](https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/8).
  57. - New documentation section: Configuration guide (explaining all the YAML file configuration options).
  58. ## [1.0-beta]
  59. ### Changed
  60. - The component was renamed from "yeelight_bs2" to "xiaomi_bslamp2".
  61. The reasoning behind this can be found in [issue #7](https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/7).
  62. ### Added
  63. - Component "text_sensor" that publishes changes in the light mode ("off", "night", "rgb", "white"),
  64. This fixes [issue #6](https://github.com/mmakaay/esphome-xiaomi_bslamp2/issues/6).
  65. - Documentation improvements and a better example.yaml.
  66. ## [1.0-alpha]
  67. ### Added
  68. - All light modes for the lamp have been implemented:
  69. - RGB light (colored light, based on red/green/blue and brightness)
  70. - White light (based on color temperature and brightness)
  71. - Night light (either RGB- or White light, but highly dimmed; enabled by setting brightness to 1%)
  72. - Component "light" for controlling the LEDs.
  73. - Component "binary_sensor" that act as touch/release sensors for power button, color button and slider.
  74. - Component "sensor" that report the level at which the slider was touched.
  75. - Component "output" for controlling the front panel light and its level indicator.