Discover HUS-prefixed BLE devices alongside iWoc

This commit is contained in:
Rene Nulsch
2026-04-30 07:40:52 +02:00
parent 0638c4b244
commit 0afd8243bc
3 changed files with 7 additions and 5 deletions
@@ -99,8 +99,7 @@ class MySmartBikeConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
):
continue
# Check if device name starts with "iWoc"
if discovery_info.name and discovery_info.name.startswith("iWoc"):
if discovery_info.name and discovery_info.name.startswith(("iWoc", "HUS")):
self._discovered_devices[discovery_info.address] = discovery_info
if not self._discovered_devices:
@@ -4,6 +4,9 @@
"bluetooth": [
{
"local_name": "iWoc*"
},
{
"local_name": "HUS*"
}
],
"codeowners": [