mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Update wled to 0.12.0 (#64580)
This commit is contained in:
parent
7f2f135e13
commit
7e09b16598
@ -1,7 +1,6 @@
|
|||||||
"""Config flow to configure the WLED integration."""
|
"""Config flow to configure the WLED integration."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
import asyncio
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
@ -75,7 +74,7 @@ class WLEDFlowHandler(ConfigFlow, domain=DOMAIN):
|
|||||||
self.discovered_host = discovery_info.host
|
self.discovered_host = discovery_info.host
|
||||||
try:
|
try:
|
||||||
self.discovered_device = await self._async_get_device(discovery_info.host)
|
self.discovered_device = await self._async_get_device(discovery_info.host)
|
||||||
except (WLEDConnectionError, asyncio.TimeoutError):
|
except WLEDConnectionError:
|
||||||
return self.async_abort(reason="cannot_connect")
|
return self.async_abort(reason="cannot_connect")
|
||||||
|
|
||||||
await self.async_set_unique_id(self.discovered_device.info.mac_address)
|
await self.async_set_unique_id(self.discovered_device.info.mac_address)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "WLED",
|
"name": "WLED",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"documentation": "https://www.home-assistant.io/integrations/wled",
|
"documentation": "https://www.home-assistant.io/integrations/wled",
|
||||||
"requirements": ["wled==0.11.0"],
|
"requirements": ["wled==0.12.0"],
|
||||||
"zeroconf": ["_wled._tcp.local."],
|
"zeroconf": ["_wled._tcp.local."],
|
||||||
"codeowners": ["@frenck"],
|
"codeowners": ["@frenck"],
|
||||||
"quality_scale": "platinum",
|
"quality_scale": "platinum",
|
||||||
|
@ -2478,7 +2478,7 @@ wirelesstagpy==0.8.1
|
|||||||
withings-api==2.3.2
|
withings-api==2.3.2
|
||||||
|
|
||||||
# homeassistant.components.wled
|
# homeassistant.components.wled
|
||||||
wled==0.11.0
|
wled==0.12.0
|
||||||
|
|
||||||
# homeassistant.components.wolflink
|
# homeassistant.components.wolflink
|
||||||
wolf_smartset==0.1.11
|
wolf_smartset==0.1.11
|
||||||
|
@ -1512,7 +1512,7 @@ wiffi==1.1.0
|
|||||||
withings-api==2.3.2
|
withings-api==2.3.2
|
||||||
|
|
||||||
# homeassistant.components.wled
|
# homeassistant.components.wled
|
||||||
wled==0.11.0
|
wled==0.12.0
|
||||||
|
|
||||||
# homeassistant.components.wolflink
|
# homeassistant.components.wolflink
|
||||||
wolf_smartset==0.1.11
|
wolf_smartset==0.1.11
|
||||||
|
Loading…
x
Reference in New Issue
Block a user