Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions homeassistant/components/wemo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import logging

import pywemo
import requests
import voluptuous as vol

from homeassistant import config_entries
Expand Down Expand Up @@ -229,10 +228,10 @@ def validate_static_config(host, port):
return None

try:
device = pywemo.discovery.device_from_description(url, None)
device = pywemo.discovery.device_from_description(url)
except (
requests.exceptions.ConnectionError,
requests.exceptions.Timeout,
pywemo.exceptions.ActionException,
pywemo.exceptions.HTTPException,
) as err:
_LOGGER.error("Unable to access WeMo at %s (%s)", url, err)
return None
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/wemo/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import async_timeout
from pywemo import WeMoDevice
from pywemo.ouimeaux_device.api.service import ActionException
from pywemo.exceptions import ActionException

from homeassistant.helpers.entity import Entity

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/wemo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Belkin WeMo",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/wemo",
"requirements": ["pywemo==0.6.1"],
"requirements": ["pywemo==0.6.2"],
"ssdp": [
{
"manufacturer": "Belkin International Inc."
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@ pyvolumio==0.1.3
pywebpush==1.9.2

# homeassistant.components.wemo
pywemo==0.6.1
pywemo==0.6.2

# homeassistant.components.wilight
pywilight==0.0.68
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ pyvolumio==0.1.3
pywebpush==1.9.2

# homeassistant.components.wemo
pywemo==0.6.1
pywemo==0.6.2

# homeassistant.components.wilight
pywilight==0.0.68
Expand Down