Skip to content

Commit

Permalink
Changing import as powerview api did change. (home-assistant#3780)
Browse files Browse the repository at this point in the history
  • Loading branch information
sander76 authored and balloob committed Oct 11, 2016
1 parent 3b331ea commit b19ec21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions homeassistant/components/scene/hunterdouglas_powerview.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@

_LOGGER = logging.getLogger(__name__)
REQUIREMENTS = [
'https://github.com/sander76/powerviewApi/'
'archive/cc6f75dd39160d4aaf46cb2ed9220136b924bcb4.zip#powerviewApi==0.2']
'https://github.com/sander76/powerviewApi/archive'
'/246e782d60d5c0addcc98d7899a0186f9d5640b0.zip#powerviewApi==0.3.15'
]

HUB_ADDRESS = 'address'


# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Setup the powerview scenes stored in a Powerview hub."""
import powerview
from powerview_api import powerview

hub_address = config.get(HUB_ADDRESS)

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ https://github.com/rkabadi/pyedimax/archive/365301ce3ff26129a7910c501ead09ea625f
https://github.com/robbiet480/pygtfs/archive/00546724e4bbcb3053110d844ca44e2246267dd8.zip#pygtfs==0.1.3

# 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
https://github.com/theolind/pymysensors/archive/8ce98b7fb56f7921a808eb66845ce8b2c455c81e.zip#pymysensors==0.7.1
Expand Down

0 comments on commit b19ec21

Please sign in to comment.