Fix ring siren test (#95825)

This commit is contained in:
Erik Montnemery 2023-07-04 09:16:40 +02:00 committed by GitHub
parent e0c77fba22
commit 10e9b9f813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
)