- Removed https://github.com/rkabadi/pyedimax as submodule
- Added https://github.com/rkabadi/pyedimax to requirements - Modified edimax.py to import pyedimax from python3 default packages
This commit is contained in:
1 parent
613c0122c0
commit
f6811e858a
4 files changed
+5
-8
No files matched your search
@@ -15,12 +15,10 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||
""" Find and return Edimax Smart Plugs. """
|
||||
try:
|
||||
# pylint: disable=no-name-in-module, import-error
|
||||
from homeassistant.external.pyedimax.smartplug import SmartPlug
|
||||
from pyedimax.smartplug import SmartPlug
|
||||
except ImportError:
|
||||
logging.getLogger(__name__).exception((
|
||||
"Failed to import pyedimax. "
|
||||
"Did you maybe not run `git submodule init` "
|
||||
"and `git submodule update`?"))
|
||||
"Failed to import pyedimax. "))
|
||||
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user