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