diff --git a/homeassistant/components/scene/hunterdouglas_powerview.py b/homeassistant/components/scene/hunterdouglas_powerview.py index 9fc36cf1cfff52..0ae44d878f89e3 100644 --- a/homeassistant/components/scene/hunterdouglas_powerview.py +++ b/homeassistant/components/scene/hunterdouglas_powerview.py @@ -11,8 +11,9 @@ _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' @@ -20,7 +21,7 @@ # 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) diff --git a/requirements_all.txt b/requirements_all.txt index 8f056813fcf7ea..9efd5d2e7553f4 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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