mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Changing import as powerview api did change. (#3780)
This commit is contained in:
parent
3b331eac56
commit
b19ec21e88
@ -11,8 +11,9 @@ from homeassistant.helpers.entity import generate_entity_id
|
|||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
REQUIREMENTS = [
|
REQUIREMENTS = [
|
||||||
'https://github.com/sander76/powerviewApi/'
|
'https://github.com/sander76/powerviewApi/archive'
|
||||||
'archive/cc6f75dd39160d4aaf46cb2ed9220136b924bcb4.zip#powerviewApi==0.2']
|
'/246e782d60d5c0addcc98d7899a0186f9d5640b0.zip#powerviewApi==0.3.15'
|
||||||
|
]
|
||||||
|
|
||||||
HUB_ADDRESS = 'address'
|
HUB_ADDRESS = 'address'
|
||||||
|
|
||||||
@ -20,7 +21,7 @@ HUB_ADDRESS = 'address'
|
|||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||||
"""Setup the powerview scenes stored in a Powerview hub."""
|
"""Setup the powerview scenes stored in a Powerview hub."""
|
||||||
import powerview
|
from powerview_api import powerview
|
||||||
|
|
||||||
hub_address = config.get(HUB_ADDRESS)
|
hub_address = config.get(HUB_ADDRESS)
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ https://github.com/rkabadi/pyedimax/archive/365301ce3ff26129a7910c501ead09ea625f
|
|||||||
https://github.com/robbiet480/pygtfs/archive/00546724e4bbcb3053110d844ca44e2246267dd8.zip#pygtfs==0.1.3
|
https://github.com/robbiet480/pygtfs/archive/00546724e4bbcb3053110d844ca44e2246267dd8.zip#pygtfs==0.1.3
|
||||||
|
|
||||||
# homeassistant.components.scene.hunterdouglas_powerview
|
# homeassistant.components.scene.hunterdouglas_powerview
|
||||||
https://github.com/sander76/powerviewApi/archive/cc6f75dd39160d4aaf46cb2ed9220136b924bcb4.zip#powerviewApi==0.2
|
https://github.com/sander76/powerviewApi/archive/246e782d60d5c0addcc98d7899a0186f9d5640b0.zip#powerviewApi==0.3.15
|
||||||
|
|
||||||
# homeassistant.components.mysensors
|
# homeassistant.components.mysensors
|
||||||
https://github.com/theolind/pymysensors/archive/8ce98b7fb56f7921a808eb66845ce8b2c455c81e.zip#pymysensors==0.7.1
|
https://github.com/theolind/pymysensors/archive/8ce98b7fb56f7921a808eb66845ce8b2c455c81e.zip#pymysensors==0.7.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user