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

Speed up get accessories #418

Merged
merged 1 commit into from
Jun 28, 2022
Merged

Speed up get accessories #418

merged 1 commit into from
Jun 28, 2022

Conversation

bdraco
Copy link
Contributor

@bdraco bdraco commented Jun 25, 2022

Switch to use an intersection since its faster

Screen Shot 2022-06-24 at 23 25 58

@codecov
Copy link

codecov bot commented Jun 25, 2022

Codecov Report

Merging #418 (cf684a3) into dev (519f22f) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##              dev     #418   +/-   ##
=======================================
  Coverage   91.78%   91.78%           
=======================================
  Files          20       20           
  Lines        2118     2118           
  Branches      287      287           
=======================================
  Hits         1944     1944           
  Misses        132      132           
  Partials       42       42           
Impacted Files Coverage Δ
pyhap/characteristic.py 100.00% <100.00%> (ø)

@ikalchev ikalchev merged commit 7a59fe8 into ikalchev:dev Jun 28, 2022
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.

2 participants