bmdadu
(Bmdadu)
February 19, 2025, 11:15am
1
After last update of ESP addon i can not update veneer display
I get de following error:
Please remove the platform
key from the [esphome] block and use the correct platform component. This style of configuration has now been removed.
platform: esp8266
board: d1_mini
1 Like
Hellis81
(Hellis81)
February 19, 2025, 11:20am
2
1 Like
eigger
(eigger)
February 19, 2025, 11:26am
3
Removed old style platform
dev
← jesserockz-2025-016
opened 03:36AM - 21 Jan 25 UTC
# What does this implement/fix?
This removes the old style of platform co… nfiguration:
```yaml
esphome:
name: Living Room
platform: ESP32
board: esp32dev
```
That configuration style was replaced 3 years ago in #2303 and is now being removed.
The current format is:
```yaml
esphome:
name: Living Room
esp32:
board: esp32dev
```
Closes #7865
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Code quality improvements to existing code or addition of tests
- [ ] Other
**Related issue or feature (if applicable):**
- fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):**
- esphome/esphome-docs#<esphome-docs PR number goes here>
## Test Environment
- [ ] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
- [ ] RP2040
- [ ] BK72xx
- [ ] RTL87xx
## Example entry for `config.yaml`:
```yaml
# Example config.yaml
```
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
2 Likes