Skip to content

Commit

Permalink
Added NL/ML Converter hostname zeroconf
Browse files Browse the repository at this point in the history
Added support of NL/ML converter in zeroconf discovery
  • Loading branch information
giachello authored Jan 4, 2023
1 parent 7007846 commit bc51902
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions custom_components/beoplay/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ async def async_step_zeroconf(self, discovery_info):
return self.async_abort(reason="cannot_connect")
_LOGGER.debug("Async_Step_Zeroconf discovery info %s" % discovery_info)

if not discovery_info.name or not discovery_info.name.startswith(
"Beo"
):
if not discovery_info.name or not (discovery_info.name.startswith("Beo") or discovery_info.name.startswith("BLC")):
return self.async_abort(reason="not_beoplay_device")

# Hostname is format: brother.local.
Expand Down

0 comments on commit bc51902

Please sign in to comment.