mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 15:27:08 +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"]
|
[submodule "homeassistant/external/pywemo"]
|
||||||
path = homeassistant/external/pywemo
|
path = homeassistant/external/pywemo
|
||||||
url = https://github.com/balloob/pywemo.git
|
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
|
### Philips Hue
|
||||||
To get Philips Hue working you will have to connect Home Assistant to the Hue bridge.
|
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:
|
Run the following command from your config dir and follow the instructions:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -17,9 +17,7 @@ def get_lights(hass, config):
|
|||||||
""" Gets the Hue lights. """
|
""" Gets the Hue lights. """
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
try:
|
try:
|
||||||
# Pylint does not play nice if not every folders has an __init__.py
|
import phue
|
||||||
# pylint: disable=no-name-in-module, import-error
|
|
||||||
import homeassistant.external.phue.phue as phue
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
logger.exception("Error while importing dependency phue.")
|
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
|
pyephem>=3.7
|
||||||
|
|
||||||
# lights.hue
|
# lights.hue
|
||||||
# phue>=0.7
|
phue>=0.8
|
||||||
|
|
||||||
# chromecast
|
# chromecast
|
||||||
pychromecast>=0.5
|
pychromecast>=0.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user