[esphome] Modernise board spec, web server v3, remove legacy options#71
[esphome] Modernise board spec, web server v3, remove legacy options#71
Conversation
Exposes the device's current IP address as a diagnostic text sensor in Home Assistant, making it easier to identify devices on the network.
Exposes the running ESPHome version and the Apollo firmware version as diagnostic text sensors in Home Assistant, making it easy to verify what firmware is installed without checking the ESPHome dashboard.
ESPHome renamed `services`/`service` to `actions`/`action` in newer versions. Updates all three API entries (play_buzzer, calibrate_co2_value, set_ld2410_bluetooth_password) to use the current syntax. BREAKING CHANGE: Any Home Assistant automations or scripts that call these as services must be updated to use the new action syntax.
…io options - Replace deprecated board name with explicit variant/flash_size spec (esp32c3 + 4MB) — removes need for platformio_options flash_mode override - Enable web server version 3 (modern UI) - Remove platformio_options board_build.flash_mode: dio from all device YAMLs - Remove legacy BLE on_connect/on_disconnect wifi hooks from Factory yaml
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the 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. 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Version: 25.7.18.1
What does this implement/fix?
A set of non-breaking modernisation changes to keep the MSR-1 firmware in line with current ESPHome best practices:
Core.yamlboard: esp32-c3-devkitm-1with explicitvariant: esp32c3+flash_size: 4MB— this is the current recommended way to target ESP32-C3 hardware with ESP-IDFversion: 3) for the modern ESPHome dashboard UIMSR-1.yaml,MSR-1_BLE.yaml,MSR-1_Factory.yamlplatformio_options: board_build.flash_mode: dio— no longer needed once the variant/flash_size spec is usedMSR-1_Factory.yamlwifi: on_connect/on_disconnectBLE hooks — these are no longer requiredTypes of changes
Checklist / Checklijst:
If user-visible functionality or configuration variables are added/modified: