Skip to content

Standardize YAML section ordering in board files - #2

Merged
simenopsahl merged 2 commits into
mainfrom
copilot/unify-file-structure-board
Jun 30, 2026
Merged

Standardize YAML section ordering in board files#2
simenopsahl merged 2 commits into
mainfrom
copilot/unify-file-structure-board

Conversation

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Top-level sections in board/*.yaml and board/module/*.yaml had inconsistent ordering across files. This standardizes all 43 files to a canonical order.

Section order:

packages → substitutions → esphome → esp32 → psram → wifi → logger → time → spi/i2c → uart → external_components → output → light → display → touchscreen → binary_sensor → sensor → text_sensor → button → number → select → switch → script → globals

  • Commented-out sections are placed where they would appear if active
  • Leading comments (e.g. # Button before binary_sensor:) stay attached to their section
  • No content added or removed — reordering only, verified across all 68 files

Reorder top-level sections to follow consistent order:
packages → substitutions → esphome → esp32 → psram → wifi → logger →
time → spi/i2c → uart → external_components → output → light →
display → touchscreen → binary_sensor → sensor → text_sensor →
button → number → select → switch → script → globals

Commented-out sections are placed according to same ordering rules.
@simenopsahl
simenopsahl marked this pull request as ready for review June 30, 2026 18:32
Copilot AI review requested due to automatic review settings June 30, 2026 18:32
@simenopsahl
simenopsahl merged commit 869a006 into main Jun 30, 2026
1 check passed
Copilot AI removed the request for review from Copilot June 30, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants