From a4083bab1ab543c78296d56dac9d1fade4e50edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Sandstr=C3=B6m?= Date: Fri, 22 Apr 2016 20:02:54 +0200 Subject: [PATCH] new version and changed "key" --- homeassistant/components/switch/verisure.py | 2 +- homeassistant/components/verisure.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/switch/verisure.py b/homeassistant/components/switch/verisure.py index 168c34c7d7a..75833c4016c 100644 --- a/homeassistant/components/switch/verisure.py +++ b/homeassistant/components/switch/verisure.py @@ -20,7 +20,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): hub.update_smartplugs() switches = [] switches.extend([ - VerisureSmartplug(value.id) + VerisureSmartplug(value.deviceLabel) for value in hub.smartplug_status.values()]) add_devices(switches) diff --git a/homeassistant/components/verisure.py b/homeassistant/components/verisure.py index 57d64581bc1..963367eed7a 100644 --- a/homeassistant/components/verisure.py +++ b/homeassistant/components/verisure.py @@ -23,7 +23,7 @@ DISCOVER_SWITCHES = 'verisure.switches' DISCOVER_ALARMS = 'verisure.alarm_control_panel' DISCOVER_LOCKS = 'verisure.lock' -REQUIREMENTS = ['vsure==0.7.1'] +REQUIREMENTS = ['vsure==0.8.1'] _LOGGER = logging.getLogger(__name__) diff --git a/requirements_all.txt b/requirements_all.txt index 10549b3d715..40214215ce3 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -313,7 +313,7 @@ urllib3 uvcclient==0.8 # homeassistant.components.verisure -vsure==0.7.1 +vsure==0.8.1 # homeassistant.components.switch.wake_on_lan wakeonlan==0.2.2