mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-17 06:16:28 +00:00
Clarify unsub call instructions
This commit is contained in:
parent
bf4fc2d881
commit
f98ef0dd14
@ -104,7 +104,7 @@ async def handle_offer(stream_source: str, offer_sdp: str) -> str:
|
|||||||
except ClientError as err:
|
except ClientError as err:
|
||||||
raise HomeAssistantError from err
|
raise HomeAssistantError from err
|
||||||
|
|
||||||
# Call unsub when integration unloads
|
# Call unsub() when integration unloads
|
||||||
unsub = camera.async_register_rtsp_to_web_rtc_provider(
|
unsub = camera.async_register_rtsp_to_web_rtc_provider(
|
||||||
hass, DOMAIN, handle_offer
|
hass, DOMAIN, handle_offer
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user