Bump velbusaio to 2024.12.2 (#133130)

* Bump velbusaio to 2024.12.2

* mistakely pushed this file
pull/133095/head
Maikel Punie 2024-12-13 13:49:00 +01:00 committed by GitHub
parent fe46fd24bd
commit 5d8e997319
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 5 deletions

View File

@ -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)

View File

@ -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"

View File

@ -13,7 +13,7 @@
"velbus-packet",
"velbus-protocol"
],
"requirements": ["velbus-aio==2024.12.1"],
"requirements": ["velbus-aio==2024.12.2"],
"usb": [
{
"vid": "10CF",

View File

@ -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

View File

@ -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