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

Fix broken miio-simulator start-up #1792

Merged
merged 1 commit into from Jul 14, 2023
Merged

Conversation

rytilahti
Copy link
Owner

This fixes a regression introduced in #1710 where the device object was passed to the did_and_mac_for_model instead of the expected model name.

Fixes #1789

@rytilahti rytilahti added the bug label Jul 14, 2023
This fixes a regression introduced in #1710 where the device object was passed to the did_and_mac_for_model instead of the expected model name.
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #1792 (ef11774) into master (d4ca76e) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1792      +/-   ##
==========================================
- Coverage   80.70%   80.70%   -0.01%     
==========================================
  Files         192      192              
  Lines       18510    18511       +1     
  Branches     4012     4012              
==========================================
  Hits        14939    14939              
- Misses       3294     3295       +1     
  Partials      277      277              
Impacted Files Coverage Δ
miio/devtools/simulators/miiosimulator.py 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rytilahti rytilahti merged commit d6c2075 into master Jul 14, 2023
17 of 19 checks passed
@rytilahti rytilahti deleted the fix/miiosimulator_init branch July 14, 2023 02:00
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.

[Simulator Usage] AttributeError: 'SimulatedMiio' object has no attribute 'encode'
1 participant