Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for passing multiple addresses to the client #796

Merged
merged 20 commits into from
Dec 12, 2023
Merged

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Dec 12, 2023

If we have multiple IP addresses for the ESPHome device, and we do not know which one we should connect to, they should be passed as addresses when creating the APIClient

Tweaks Happy Eyeballs delay to 0.1s since we expect its local

If we have multiple IP addresses for the ESPHome device, and
we do not know which one we should connect to, they should
be passed as `addresses` when creating the `APIClient`
@bdraco bdraco added the minor label Dec 12, 2023
Copy link

codecov bot commented Dec 12, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4668b1f) 100.00% compared to head (de6242f) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #796   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         2412      2423   +11     
=========================================
+ Hits          2412      2423   +11     

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

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@bdraco bdraco marked this pull request as ready for review December 12, 2023 21:22
@bdraco bdraco merged commit de1d084 into main Dec 12, 2023
10 checks passed
@bdraco bdraco deleted the improve_fallback branch December 12, 2023 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant