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.

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