Merge pull request #1889 from persandstrom/verisure_updated_links

Verisure: new version and changed "key" in smartplug
pull/1891/head
Per Sandström 2016-04-22 20:15:26 +02:00
commit ba696888c1
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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__)

View File

@ -326,7 +326,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