Note: This release requires ESPHome 2023.4.0 and Home Assistant 2021.8.0 or newer.
Fixed
- Compile issues with recent ESPHome versions fixed:
- An error about toolchain-riscv32-esp not being found (the PlatformIO tool manager
tries to install this one, even though the lamp is an ESP32 device and not riscv). - On systems for which the above toolchain could be found, compilation would fail
with an error aboutesp_mac.h
not being found.
- An error about toolchain-riscv32-esp not being found (the PlatformIO tool manager
Changed
- ESPHome's compile-time warnings about "GPIO is a Strapping PIN and should
be avoided" are now being suppressed. These warning are often interpreted
by users of this firmware as problems. However, the pinouts are dictated by
the hardware and there are no strapping issues because of how they are used. - Updated the documentation for the deprecated API password support (which must now
be an API encryption key instead).
How to upgrade your device
The basic steps for upgrading are:
- Upgrade ESPHome to 2023.4.0 or later;
- Update your device configuration (see below);
- Compile and upload the new firmware.
If you have used the example.yaml to create your configuration, then update the configuration package ref: to point to 2023.4.0
.
packages:
bslamp2:
url: https://github.com/mmakaay/esphome-xiaomi_bslamp2
ref: 2023.4.0 <--- update this one
files:
...
...
If you use a different configuration method, then make sure that the external_component: and esp32: sections match the ones from the example.yaml for this release.