From 0826ae2742f08faac8fb879b01ea7369dc782228 Mon Sep 17 00:00:00 2001 From: pavoni Date: Mon, 26 Oct 2015 08:37:13 +0000 Subject: [PATCH] Revise pywemo version, update discovery.device_from_description parameters --- homeassistant/components/switch/wemo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/switch/wemo.py b/homeassistant/components/switch/wemo.py index b598af04946..5cc3be0dbe9 100644 --- a/homeassistant/components/switch/wemo.py +++ b/homeassistant/components/switch/wemo.py @@ -11,7 +11,7 @@ import logging from homeassistant.components.switch import SwitchDevice from homeassistant.const import STATE_ON, STATE_OFF, STATE_STANDBY -REQUIREMENTS = ['pywemo==0.3.1'] +REQUIREMENTS = ['pywemo==0.3.2'] _LOGGER = logging.getLogger(__name__) @@ -22,7 +22,7 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None): import pywemo.discovery as discovery if discovery_info is not None: - device = discovery.device_from_description(discovery_info[2]) + device = discovery.device_from_description(discovery_info[2], discovery_info[3]) if device: add_devices_callback([WemoSwitch(device)])