Skip to content

[esphome] Modernise board spec, web server v3, and API actions#82

Merged
TrevorSchirmer merged 1 commit intobetafrom
esphome-modernisation
Feb 27, 2026
Merged

[esphome] Modernise board spec, web server v3, and API actions#82
TrevorSchirmer merged 1 commit intobetafrom
esphome-modernisation

Conversation

@bharvey88
Copy link
Copy Markdown
Contributor

@bharvey88 bharvey88 commented Feb 24, 2026

Version: 25.12.18.2

What does this implement/fix?

Ports the modernisation changes from MTR-1 PR #74 to the AIR-1. All changes use newer ESPHome conventions and clean up legacy patterns.

Core.yaml

  • esp32: replaced board: esp32-c3-devkitm-1 with variant: esp32c3 + flash_size: 4MB (new ESPHome board spec)
  • web_server: added version: 3
  • api: renamed services:/service:actions:/action: for calibrate_co2_value and sen55_clean

AIR-1.yaml, AIR-1_BLE.yaml, AIR-1_Factory.yaml

  • Removed platformio_options: board_build.flash_mode: dio (no longer needed with the new variant spec)

AIR-1_Factory.yaml

  • Removed legacy on_connect/on_disconnect BLE enable/disable wifi hooks

Note: min_version was intentionally not changed.

Types of changes

  • Bugfix (fixed change that fixes an issue)
  • New feature (thanks!)
  • Breaking change (repair/feature that breaks existing functionality)
  • Dependency Update - Does not publish
  • Other - Does not publish
  • Website of github readme file update - Does not publish
  • Github workflows - Does not publish

Checklist / Checklijst:

  • The code change has been tested and works locally
  • The code change has not yet been tested

If user-visible functionality or configuration variables are added/modified:

  • Added/updated documentation for the web page

- esp32: board -> variant: esp32c3 + flash_size: 4MB
- web_server: add version: 3
- api: services/service -> actions/action
- Remove platformio_options board_build.flash_mode from all device YAMLs
- AIR-1_Factory: remove legacy BLE on_connect/on_disconnect wifi hooks

Port of ApolloAutomation/MTR-1#74 (min_version bump excluded per repo conventions)
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 24, 2026

Warning

Rate limit exceeded

@bharvey88 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 13 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between e523911 and 63e3b17.

📒 Files selected for processing (4)
  • Integrations/ESPHome/AIR-1.yaml
  • Integrations/ESPHome/AIR-1_BLE.yaml
  • Integrations/ESPHome/AIR-1_Factory.yaml
  • Integrations/ESPHome/Core.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch esphome-modernisation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the new-feature New feature label Feb 24, 2026
@TrevorSchirmer TrevorSchirmer merged commit e0e9ba9 into beta Feb 27, 2026
12 checks passed
@TrevorSchirmer TrevorSchirmer deleted the esphome-modernisation branch February 27, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants