Bump velbusaio to 2024.12.2 (#133130)
* Bump velbusaio to 2024.12.2 * mistakely pushed this filepull/133095/head
parent
fe46fd24bd
commit
5d8e997319
|
@ -52,7 +52,7 @@ async def velbus_connect_task(
|
|||
) -> None:
|
||||
"""Task to offload the long running connect."""
|
||||
try:
|
||||
await controller.connect()
|
||||
await controller.start()
|
||||
except ConnectionError as ex:
|
||||
raise PlatformNotReady(
|
||||
f"Connection error while connecting to Velbus {entry_id}: {ex}"
|
||||
|
@ -85,6 +85,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: VelbusConfigEntry) -> bo
|
|||
entry.data[CONF_PORT],
|
||||
cache_dir=hass.config.path(STORAGE_DIR, f"velbuscache-{entry.entry_id}"),
|
||||
)
|
||||
await controller.connect()
|
||||
|
||||
task = hass.async_create_task(velbus_connect_task(controller, hass, entry.entry_id))
|
||||
entry.runtime_data = VelbusData(controller=controller, connect_task=task)
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class VelbusConfigFlow(ConfigFlow, domain=DOMAIN):
|
|||
"""Try to connect to the velbus with the port specified."""
|
||||
try:
|
||||
controller = velbusaio.controller.Velbus(prt)
|
||||
await controller.connect(True)
|
||||
await controller.connect()
|
||||
await controller.stop()
|
||||
except VelbusConnectionFailed:
|
||||
self._errors[CONF_PORT] = "cannot_connect"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"velbus-packet",
|
||||
"velbus-protocol"
|
||||
],
|
||||
"requirements": ["velbus-aio==2024.12.1"],
|
||||
"requirements": ["velbus-aio==2024.12.2"],
|
||||
"usb": [
|
||||
{
|
||||
"vid": "10CF",
|
||||
|
|
|
@ -2943,7 +2943,7 @@ vallox-websocket-api==5.3.0
|
|||
vehicle==2.2.2
|
||||
|
||||
# homeassistant.components.velbus
|
||||
velbus-aio==2024.12.1
|
||||
velbus-aio==2024.12.2
|
||||
|
||||
# homeassistant.components.venstar
|
||||
venstarcolortouch==0.19
|
||||
|
|
|
@ -2356,7 +2356,7 @@ vallox-websocket-api==5.3.0
|
|||
vehicle==2.2.2
|
||||
|
||||
# homeassistant.components.velbus
|
||||
velbus-aio==2024.12.1
|
||||
velbus-aio==2024.12.2
|
||||
|
||||
# homeassistant.components.venstar
|
||||
venstarcolortouch==0.19
|
||||
|
|
Loading…
Reference in New Issue