Skip to content

Commit

Permalink
fix: zerconf name
Browse files Browse the repository at this point in the history
  • Loading branch information
martonborzak committed Jul 22, 2023
1 parent e4df669 commit aa236bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

PACKAGE_NAME = 'ucapi'
HERE = path.abspath(path.dirname(__file__))
VERSION = '0.0.8'
VERSION = '0.0.9'

with open(path.join(HERE, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
Expand Down
2 changes: 1 addition & 1 deletion ucapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async def event_handler(id, entityType, attributes):
# Setup zeroconf service info
info = AsyncServiceInfo(
"_uc-integration._tcp.local.",
f"{url}._uc-integration._tcp.local.",
f"{self.driverInfo['driver_id']}._uc-integration._tcp.local.",
addresses=[addr],
port=int(self._port),
properties={
Expand Down

0 comments on commit aa236bb

Please sign in to comment.