diff --git a/tests/components/button/test_trigger.py b/tests/components/button/test_trigger.py index 961ff39bdfe..32e36a0c30a 100644 --- a/tests/components/button/test_trigger.py +++ b/tests/components/button/test_trigger.py @@ -127,7 +127,7 @@ async def test_button_triggers_gated_by_labs_flag( ), ], ) -async def test_button_state_trigger_behavior_any( +async def test_button_state_trigger( hass: HomeAssistant, service_calls: list[ServiceCall], target_buttons: dict[str, list[str]], @@ -137,7 +137,7 @@ async def test_button_state_trigger_behavior_any( trigger: str, states: list[TriggerStateDescription], ) -> None: - """Test that the button state trigger fires when any button state changes to a specific state.""" + """Test that the button state trigger fires when targeted button state changes.""" other_entity_ids = set(target_buttons["included"]) - {entity_id} # Set all buttons, including the tested button, to the initial state diff --git a/tests/components/scene/test_trigger.py b/tests/components/scene/test_trigger.py index ce6c69d93c3..e9ef94ff87c 100644 --- a/tests/components/scene/test_trigger.py +++ b/tests/components/scene/test_trigger.py @@ -127,7 +127,7 @@ async def test_scene_triggers_gated_by_labs_flag( ), ], ) -async def test_scene_state_trigger_behavior_any( +async def test_scene_state_trigger( hass: HomeAssistant, service_calls: list[ServiceCall], target_scenes: dict[str, list[str]], @@ -137,7 +137,7 @@ async def test_scene_state_trigger_behavior_any( trigger: str, states: list[TriggerStateDescription], ) -> None: - """Test that the scene state trigger fires when any scene state changes to a specific state.""" + """Test that the scene state trigger fires when targeted scene state changes.""" other_entity_ids = set(target_scenes["included"]) - {entity_id} # Set all scenes, including the tested scene, to the initial state diff --git a/tests/components/text/test_trigger.py b/tests/components/text/test_trigger.py index 40ad33ead94..ae474c0808a 100644 --- a/tests/components/text/test_trigger.py +++ b/tests/components/text/test_trigger.py @@ -88,7 +88,7 @@ async def test_text_triggers_gated_by_labs_flag( ), ], ) -async def test_text_state_trigger_behavior_any( +async def test_text_state_trigger( hass: HomeAssistant, service_calls: list[ServiceCall], target_texts: dict[str, list[str]], @@ -98,7 +98,7 @@ async def test_text_state_trigger_behavior_any( trigger: str, states: list[TriggerStateDescription], ) -> None: - """Test that the text state trigger fires when any text state changes to a specific state.""" + """Test that the text state trigger fires when targeted text state changes.""" other_entity_ids = set(target_texts["included"]) - {entity_id} # Set all texts, including the tested text, to the initial state