Update ESPHome config to post-2022 syntax - #33
Open
funzoneq wants to merge 1 commit into
Open
Conversation
The esphome: platform:/board: keys were deprecated in ESPHome 2022.1 and later removed, and ota: became a list of platforms in 2024.6, so the config no longer validated when imported into ESPHome Builder. Move the chip selection into a top-level esp32: block and convert ota: to the platform list form. The arduino framework is pinned explicitly because recent ESPHome defaults to ESP-IDF, which is not what the fan/pulse_counter setup here has been tested against. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P3ad48iZdxUzPwHPUYNJ4x
funzoneq
marked this pull request as ready for review
September 1, 2026 11:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Software/open-air-mini.yamlfail in ESPHome Builder:platform:andboard:underesphome:were deprecated in ESPHome 2022.1 and later removed. Chip selection now lives in a top-levelesp32:block.ota:became a list of platforms in ESPHome 2024.6, so it would have failed on the next compile even after the first fix. Converted to the- platform: esphomelist form.arduinoframework is pinned explicitly: recent ESPHome defaults to ESP-IDF, which is not what this config'sfan: speed/pulse_countersetup has been tested against.No behavioural change intended — this is a syntax migration only.
Config diff
Test plan
Software/open-air-mini.yamlpasses Validate in ESPHome Builderesp32devon the arduino frameworkAIR Mini RPMreports plausible valuesota:blockNotes
esphome configlocally — ESPHome is not installed on the authoring machine, so only YAML structure was checked. Builder's Validate is the real gate.Software/README.mdstill documents the pre-2022 layout in places; left untouched here to keep this diff to the syntax fix.🤖 Generated with Claude Code
https://claude.ai/code/session_01P3ad48iZdxUzPwHPUYNJ4x