From 10e9b9f813a840c8d492df137dbda67b0b730977 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 4 Jul 2023 09:16:40 +0200 Subject: [PATCH] Fix ring siren test (#95825) --- tests/components/ring/test_siren.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/components/ring/test_siren.py b/tests/components/ring/test_siren.py index fbbd14aaf4e..916da5d24fb 100644 --- a/tests/components/ring/test_siren.py +++ b/tests/components/ring/test_siren.py @@ -59,10 +59,10 @@ async def test_default_ding_chime_can_be_played( assert state.state == "unknown" -async def test_toggle_plays_default_chime( +async def test_turn_on_plays_default_chime( hass: HomeAssistant, requests_mock: requests_mock.Mocker ) -> None: - """Tests the play chime request is sent correctly when toggled.""" + """Tests the play chime request is sent correctly when turned on.""" await setup_platform(hass, Platform.SIREN) # Mocks the response for playing a test sound @@ -72,7 +72,7 @@ async def test_toggle_plays_default_chime( ) await hass.services.async_call( "siren", - "toggle", + "turn_on", {"entity_id": "siren.downstairs_siren"}, blocking=True, )