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 hardcoded lumi.gateway module path #1794

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

rytilahti
Copy link
Owner

This hardcoded 'path' broke when the gateway was moved from the main package to its own one under integrations/lumi/gateway.

This should fix #1791 but is untested. @starkillerOG any ideas if there is a better way to do this besides hardcoding the path?

This hardcoded 'path' broke when the gateway was moved from the main package to its own one under integrations/lumi/gateway.
@rytilahti rytilahti added the bug label Jul 14, 2023
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #1794 (1c912eb) into master (d6c2075) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1794   +/-   ##
=======================================
  Coverage   80.70%   80.70%           
=======================================
  Files         192      192           
  Lines       18511    18511           
  Branches     4012     4012           
=======================================
  Hits        14939    14939           
  Misses       3295     3295           
  Partials      277      277           
Impacted Files Coverage Δ
miio/integrations/lumi/gateway/gateway.py 43.87% <ø> (ø)

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

@rytilahti rytilahti merged commit 673a421 into master Jul 18, 2023
18 checks passed
@rytilahti rytilahti deleted the fix/gateway/hardcoded_module_path branch July 18, 2023 22:22
@starkillerOG
Copy link
Contributor

I would not know of a better way to do this unfortunately....

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.

Error when executing gateway.discover_devices() in the version of 0.6.0.dev0
2 participants