mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
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 logging
|
||||||
|
|
||||||
import pywemo
|
import pywemo
|
||||||
import requests
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant import config_entries
|
from homeassistant import config_entries
|
||||||
@ -229,10 +228,10 @@ def validate_static_config(host, port):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
device = pywemo.discovery.device_from_description(url, None)
|
device = pywemo.discovery.device_from_description(url)
|
||||||
except (
|
except (
|
||||||
requests.exceptions.ConnectionError,
|
pywemo.exceptions.ActionException,
|
||||||
requests.exceptions.Timeout,
|
pywemo.exceptions.HTTPException,
|
||||||
) as err:
|
) as err:
|
||||||
_LOGGER.error("Unable to access WeMo at %s (%s)", url, err)
|
_LOGGER.error("Unable to access WeMo at %s (%s)", url, err)
|
||||||
return None
|
return None
|
||||||
|
@ -6,7 +6,7 @@ from typing import Any, Dict, Generator, Optional
|
|||||||
|
|
||||||
import async_timeout
|
import async_timeout
|
||||||
from pywemo import WeMoDevice
|
from pywemo import WeMoDevice
|
||||||
from pywemo.ouimeaux_device.api.service import ActionException
|
from pywemo.exceptions import ActionException
|
||||||
|
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "Belkin WeMo",
|
"name": "Belkin WeMo",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/wemo",
|
"documentation": "https://www.home-assistant.io/integrations/wemo",
|
||||||
"requirements": ["pywemo==0.6.1"],
|
"requirements": ["pywemo==0.6.2"],
|
||||||
"ssdp": [
|
"ssdp": [
|
||||||
{
|
{
|
||||||
"manufacturer": "Belkin International Inc."
|
"manufacturer": "Belkin International Inc."
|
||||||
|
@ -1902,7 +1902,7 @@ pyvolumio==0.1.3
|
|||||||
pywebpush==1.9.2
|
pywebpush==1.9.2
|
||||||
|
|
||||||
# homeassistant.components.wemo
|
# homeassistant.components.wemo
|
||||||
pywemo==0.6.1
|
pywemo==0.6.2
|
||||||
|
|
||||||
# homeassistant.components.wilight
|
# homeassistant.components.wilight
|
||||||
pywilight==0.0.68
|
pywilight==0.0.68
|
||||||
|
@ -981,7 +981,7 @@ pyvolumio==0.1.3
|
|||||||
pywebpush==1.9.2
|
pywebpush==1.9.2
|
||||||
|
|
||||||
# homeassistant.components.wemo
|
# homeassistant.components.wemo
|
||||||
pywemo==0.6.1
|
pywemo==0.6.2
|
||||||
|
|
||||||
# homeassistant.components.wilight
|
# homeassistant.components.wilight
|
||||||
pywilight==0.0.68
|
pywilight==0.0.68
|
||||||
|
Loading…
x
Reference in New Issue
Block a user