From aa236bb4a05145cb9022782ab3e90f0a3391b605 Mon Sep 17 00:00:00 2001 From: Marton Date: Sat, 22 Jul 2023 14:14:58 +0200 Subject: [PATCH] fix: zerconf name --- setup.py | 2 +- ucapi/api.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index b6dfa60..f05b26d 100644 --- a/setup.py +++ b/setup.py @@ -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() diff --git a/ucapi/api.py b/ucapi/api.py index 04181f9..d33727a 100644 --- a/ucapi/api.py +++ b/ucapi/api.py @@ -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={