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