mirror of https://github.com/home-assistant/core
Bump pywemo to 0.6.2 (#46797)
This commit is contained in:
parent
fd60d4273b
commit
e6125a1e4e
|
@ -3,7 +3,6 @@ import asyncio
|
|||
import logging
|
||||
|
||||
import pywemo
|
||||
import requests
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant import config_entries
|
||||
|
@ -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
|
||||
|
|
|
@ -6,7 +6,7 @@ from typing import Any, Dict, Generator, Optional
|
|||
|
||||
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
|
||||
|
||||
|
|
|
@ -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."
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue