Fix lingering timer in Axis library (#92143)

This commit is contained in:
Robert Svensson 2023-04-28 10:41:21 +02:00 committed by GitHub
parent 0411b384dd
commit cad0310193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -218,7 +218,7 @@ class AxisNetworkDevice:
"""Stop stream."""
if self.api.stream.state != State.STOPPED:
self.api.stream.connection_status_callback.clear()
self.api.stream.stop()
self.api.stream.stop()
async def shutdown(self, event) -> None:
"""Stop the event stream."""

View File

@ -26,7 +26,7 @@
"iot_class": "local_push",
"loggers": ["axis"],
"quality_scale": "platinum",
"requirements": ["axis==47"],
"requirements": ["axis==48"],
"ssdp": [
{
"manufacturer": "AXIS"

View File

@ -401,7 +401,7 @@ aurorapy==0.2.7
# avion==0.10
# homeassistant.components.axis
axis==47
axis==48
# homeassistant.components.azure_event_hub
azure-eventhub==5.11.1

View File

@ -349,7 +349,7 @@ auroranoaa==0.0.3
aurorapy==0.2.7
# homeassistant.components.axis
axis==47
axis==48
# homeassistant.components.azure_event_hub
azure-eventhub==5.11.1