mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Bump velbusaio to 2024.12.2 (#133130)
* Bump velbusaio to 2024.12.2 * mistakely pushed this file
This commit is contained in:
parent
fe46fd24bd
commit
5d8e997319
@ -52,7 +52,7 @@ async def velbus_connect_task(
|
|||||||
) -> None:
|
) -> None:
|
||||||
"""Task to offload the long running connect."""
|
"""Task to offload the long running connect."""
|
||||||
try:
|
try:
|
||||||
await controller.connect()
|
await controller.start()
|
||||||
except ConnectionError as ex:
|
except ConnectionError as ex:
|
||||||
raise PlatformNotReady(
|
raise PlatformNotReady(
|
||||||
f"Connection error while connecting to Velbus {entry_id}: {ex}"
|
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],
|
entry.data[CONF_PORT],
|
||||||
cache_dir=hass.config.path(STORAGE_DIR, f"velbuscache-{entry.entry_id}"),
|
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))
|
task = hass.async_create_task(velbus_connect_task(controller, hass, entry.entry_id))
|
||||||
entry.runtime_data = VelbusData(controller=controller, connect_task=task)
|
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 to connect to the velbus with the port specified."""
|
||||||
try:
|
try:
|
||||||
controller = velbusaio.controller.Velbus(prt)
|
controller = velbusaio.controller.Velbus(prt)
|
||||||
await controller.connect(True)
|
await controller.connect()
|
||||||
await controller.stop()
|
await controller.stop()
|
||||||
except VelbusConnectionFailed:
|
except VelbusConnectionFailed:
|
||||||
self._errors[CONF_PORT] = "cannot_connect"
|
self._errors[CONF_PORT] = "cannot_connect"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"velbus-packet",
|
"velbus-packet",
|
||||||
"velbus-protocol"
|
"velbus-protocol"
|
||||||
],
|
],
|
||||||
"requirements": ["velbus-aio==2024.12.1"],
|
"requirements": ["velbus-aio==2024.12.2"],
|
||||||
"usb": [
|
"usb": [
|
||||||
{
|
{
|
||||||
"vid": "10CF",
|
"vid": "10CF",
|
||||||
|
@ -2943,7 +2943,7 @@ vallox-websocket-api==5.3.0
|
|||||||
vehicle==2.2.2
|
vehicle==2.2.2
|
||||||
|
|
||||||
# homeassistant.components.velbus
|
# homeassistant.components.velbus
|
||||||
velbus-aio==2024.12.1
|
velbus-aio==2024.12.2
|
||||||
|
|
||||||
# homeassistant.components.venstar
|
# homeassistant.components.venstar
|
||||||
venstarcolortouch==0.19
|
venstarcolortouch==0.19
|
||||||
|
@ -2356,7 +2356,7 @@ vallox-websocket-api==5.3.0
|
|||||||
vehicle==2.2.2
|
vehicle==2.2.2
|
||||||
|
|
||||||
# homeassistant.components.velbus
|
# homeassistant.components.velbus
|
||||||
velbus-aio==2024.12.1
|
velbus-aio==2024.12.2
|
||||||
|
|
||||||
# homeassistant.components.venstar
|
# homeassistant.components.venstar
|
||||||
venstarcolortouch==0.19
|
venstarcolortouch==0.19
|
||||||
|
Loading…
x
Reference in New Issue
Block a user