Skip to content

Ensure ESPHome calls configure before subscribe#92

Merged
puddly merged 6 commits into
devfrom
puddly/esphome-cleanup
May 13, 2026
Merged

Ensure ESPHome calls configure before subscribe#92
puddly merged 6 commits into
devfrom
puddly/esphome-cleanup

Conversation

@puddly
Copy link
Copy Markdown
Owner

@puddly puddly commented May 13, 2026

This PR decouples the instance_id resolution from configuration, allowing us to order things correctly: the port is opened, we resolve the port name to a port ID, configure the UART settings, and then subscribe to data.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 96.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.49%. Comparing base (51c5e7a) to head (db3b0d4).
⚠️ Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
serialx/platforms/serial_esphome.py 96.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #92      +/-   ##
==========================================
+ Coverage   91.47%   91.49%   +0.02%     
==========================================
  Files          22       22              
  Lines        3590     3599       +9     
==========================================
+ Hits         3284     3293       +9     
  Misses        306      306              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@puddly puddly merged commit b068974 into dev May 13, 2026
55 of 58 checks passed
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.

1 participant