mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Move to Pypi version of Phue again
This commit is contained in:
parent
4b2fa2d413
commit
01f738c151
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,6 +4,3 @@
|
||||
[submodule "homeassistant/external/pywemo"]
|
||||
path = homeassistant/external/pywemo
|
||||
url = https://github.com/balloob/pywemo.git
|
||||
[submodule "homeassistant/external/phue"]
|
||||
path = homeassistant/external/phue
|
||||
url = https://github.com/studioimaginaire/phue.git
|
||||
|
@ -58,8 +58,6 @@ After you got the demo mode running it is time to enable some real components an
|
||||
### Philips Hue
|
||||
To get Philips Hue working you will have to connect Home Assistant to the Hue bridge.
|
||||
|
||||
*Note*: Home Assistant depends on a feature of Phue that is available on GitHub but not on Pypi. Home Assistant will include Phue as a git submodule till this issue is resolved. Before using Philips Hue you will have to install the Phue library so it can create a config file. Do so by running from the Home Assistant directory: `pip3 install -e homeassistant/external/phue`.
|
||||
|
||||
Run the following command from your config dir and follow the instructions:
|
||||
|
||||
```bash
|
||||
|
@ -17,9 +17,7 @@ def get_lights(hass, config):
|
||||
""" Gets the Hue lights. """
|
||||
logger = logging.getLogger(__name__)
|
||||
try:
|
||||
# Pylint does not play nice if not every folders has an __init__.py
|
||||
# pylint: disable=no-name-in-module, import-error
|
||||
import homeassistant.external.phue.phue as phue
|
||||
import phue
|
||||
except ImportError:
|
||||
logger.exception("Error while importing dependency phue.")
|
||||
|
||||
|
1
homeassistant/external/phue
vendored
1
homeassistant/external/phue
vendored
@ -1 +0,0 @@
|
||||
Subproject commit c96d8d5dbe08adfe3919734c1c8403cd7ec4873e
|
@ -7,7 +7,7 @@ requests>=2.0
|
||||
pyephem>=3.7
|
||||
|
||||
# lights.hue
|
||||
# phue>=0.7
|
||||
phue>=0.8
|
||||
|
||||
# chromecast
|
||||
pychromecast>=0.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user