From ab73d7c3475860b21ac38b78e565228bd9297b5d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 17 Jan 2022 10:27:39 -0500 Subject: [PATCH] spelling: components/camera (#64242) Co-authored-by: Josh Soref --- homeassistant/components/camera/__init__.py | 2 +- tests/components/camera/test_init.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index 6fdf8297ada..51ae101bd26 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -869,7 +869,7 @@ async def ws_camera_web_rtc_offer( """Handle the signal path for a WebRTC stream. This signal path is used to route the offer created by the client to the - camera device through the integration for negitioation on initial setup, + camera device through the integration for negotiation on initial setup, which returns an answer. The actual streaming is handled entirely between the client and camera device. diff --git a/tests/components/camera/test_init.py b/tests/components/camera/test_init.py index 1faf2341483..023f120c1d2 100644 --- a/tests/components/camera/test_init.py +++ b/tests/components/camera/test_init.py @@ -713,7 +713,7 @@ async def test_stream_unavailable(hass, hass_ws_client, mock_camera, mock_stream await client.receive_json() assert mock_update_callback.called - # Simluate the stream going unavailable + # Simulate the stream going unavailable callback = mock_update_callback.call_args.args[0] with patch( "homeassistant.components.camera.Stream.available", new_callable=lambda: False