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

homeassistant Unable to load plug-in #9

Closed
Guoer-xz opened this issue Mar 8, 2017 · 1 comment
Closed

homeassistant Unable to load plug-in #9

Guoer-xz opened this issue Mar 8, 2017 · 1 comment

Comments

@Guoer-xz
Copy link

Guoer-xz commented Mar 8, 2017

I have installed the latest ha plugin to the specified directory, BlueZ has been fully installed, prompted to start as follows, how can I let it run up, thanks

#######################################################################
INFO:homeassistant.loader:Loaded light.yeelight_bt from custom_components.light.yeelight_bt
INFO:homeassistant.bootstrap:Setting up light
INFO:homeassistant.components.light:Setting up light.yeelight_bt
ERROR:homeassistant.components.light:Error while setting up platform yeelight_bt
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/futures.py", line 358, in iter
yield self # This tells Task to wait for completion.
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/tasks.py", line 290, in _wakeup
future.result()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/asyncio/futures.py", line 274, in result
raise self._exception
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/Users/guoer/.homeassistant/custom_components/light/yeelight_bt.py", line 60, in setup_platform
add_devices_callback(lights, True) # request an update before adding
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 300, in add_entities
entity.update()
File "/Users/guoer/.homeassistant/custom_components/light/yeelight_bt.py", line 163, in update
with self._dev:
File "/Users/guoer/.homeassistant/custom_components/light/yeelight_bt.py", line 131, in _dev
from yeelightbt import Lamp
ImportError: No module named 'yeelightbt'

@rytilahti
Copy link
Owner

It looks like you haven't installed the module itself, just the plugin. But as you are running on OSX, it won't work anyway as OSX has no Bluez, so I'm closing this.

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

No branches or pull requests

2 participants