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

refactor: change Config import to use ConfigType instead #395

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

tjorim
Copy link
Contributor

@tjorim tjorim commented Oct 30, 2024

This integration will break on HA 2024.11 due to home-assistant/core#129163
It seems like Config was only used for (incorrect) typing; this fix is backwards compatible.

ConfigType to be used instead
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.05%. Comparing base (dfe0f76) to head (2bb8a37).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #395      +/-   ##
==========================================
+ Coverage   84.03%   84.05%   +0.01%     
==========================================
  Files          12       12              
  Lines         952      953       +1     
==========================================
+ Hits          800      801       +1     
  Misses        152      152              

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

@firstof9 firstof9 changed the title Fix Config import to use ConfigType instead fix: change Config import to use ConfigType instead Oct 30, 2024
@firstof9 firstof9 changed the title fix: change Config import to use ConfigType instead refactor: change Config import to use ConfigType instead Oct 30, 2024
@firstof9
Copy link
Owner

Thanks!

@firstof9 firstof9 merged commit 2310fc4 into firstof9:main Oct 30, 2024
9 checks passed
@tjorim tjorim deleted the patch-1 branch October 30, 2024 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants