Skip to content

Commit 54a896e

Browse files
committed
Fix HA 2025.2.0b0 deprecation warning
1 parent d158412 commit 54a896e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

custom_components/huesyncbox/config_flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
CONF_UNIQUE_ID,
2121
)
2222
from homeassistant.exceptions import HomeAssistantError
23+
from homeassistant.helpers.service_info.zeroconf import ZeroconfServiceInfo
2324

2425
from . import HueSyncBoxConfigEntry
2526
from .const import DEFAULT_PORT, DOMAIN, REGISTRATION_ID
@@ -197,7 +198,7 @@ async def async_step_configure(
197198
)
198199

199200
async def async_step_zeroconf(
200-
self, discovery_info: zeroconf.ZeroconfServiceInfo
201+
self, discovery_info: ZeroconfServiceInfo
201202
) -> ConfigFlowResult:
202203
"""Handle zeroconf discovery."""
203204
_LOGGER.debug("async_step_zeroconf, %s", discovery_info)

0 commit comments

Comments
 (0)