Skip to content

Fix broken miio-simulator start-up - #1792

Merged
rytilahti merged 1 commit into
masterfrom
fix/miiosimulator_init
Jul 14, 2023
Merged

Fix broken miio-simulator start-up#1792
rytilahti merged 1 commit into
masterfrom
fix/miiosimulator_init

Conversation

@rytilahti

Copy link
Copy Markdown
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.
@rytilahti
rytilahti force-pushed the fix/miiosimulator_init branch from 4d05cee to ef11774 Compare July 14, 2023 01:49
@codecov

codecov Bot commented Jul 14, 2023

Copy link
Copy Markdown

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
@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