Update wled to 0.12.0 (#64580)

This commit is contained in:
Franck Nijhof 2022-01-20 22:09:26 +01:00 committed by GitHub
parent 7f2f135e13
commit 7e09b16598
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
"""Config flow to configure the WLED integration."""
from __future__ import annotations
import asyncio
from typing import Any
import voluptuous as vol
@ -75,7 +74,7 @@ class WLEDFlowHandler(ConfigFlow, domain=DOMAIN):
self.discovered_host = discovery_info.host
try:
self.discovered_device = await self._async_get_device(discovery_info.host)
except (WLEDConnectionError, asyncio.TimeoutError):
except WLEDConnectionError:
return self.async_abort(reason="cannot_connect")
await self.async_set_unique_id(self.discovered_device.info.mac_address)

View File

@ -3,7 +3,7 @@
"name": "WLED",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/wled",
"requirements": ["wled==0.11.0"],
"requirements": ["wled==0.12.0"],
"zeroconf": ["_wled._tcp.local."],
"codeowners": ["@frenck"],
"quality_scale": "platinum",

View File

@ -2478,7 +2478,7 @@ wirelesstagpy==0.8.1
withings-api==2.3.2
# homeassistant.components.wled
wled==0.11.0
wled==0.12.0
# homeassistant.components.wolflink
wolf_smartset==0.1.11

View File

@ -1512,7 +1512,7 @@ wiffi==1.1.0
withings-api==2.3.2
# homeassistant.components.wled
wled==0.11.0
wled==0.12.0
# homeassistant.components.wolflink
wolf_smartset==0.1.11