diff --git a/setup.cfg b/setup.cfg index 9a59207..85031c5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] # replace with your username: name = wyzeapy -version = 0.1.0-beta.18 +version = 0.1.0-beta.19 author = Mulliken LLC author_email = joshua@mulliken.net description = Python client for private Wyze API diff --git a/sonar-project.properties b/sonar-project.properties index 0e55d2f..fa871b1 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.organization=joshuamulliken # This is the name and version displayed in the SonarCloud UI. sonar.projectName=wyzeapy -sonar.projectVersion=0.1.0-beta.18 +sonar.projectVersion=0.1.0-beta.19 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. #sonar.sources=. diff --git a/src/wyzeapy/services/sensor_service.py b/src/wyzeapy/services/sensor_service.py index ae2feee..51650d3 100644 --- a/src/wyzeapy/services/sensor_service.py +++ b/src/wyzeapy/services/sensor_service.py @@ -44,6 +44,7 @@ async def register_for_updates(self, sensor: Sensor, callback: Callable[[Sensor] _LOGGER.debug(f"Registering sensor: {sensor.nickname} for updates") if not self._updater_thread: self._updater_thread = Thread(target=self.update_worker, daemon=True) + self._updater_thread.start() self._subscribers.append((sensor, callback))