1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-19 18:38:58 +00:00

Improve docstrings in climate trigger tests (#159438)

This commit is contained in:
Erik Montnemery
2025-12-19 16:10:07 +01:00
committed by GitHub
parent 4a464f601c
commit d9324cb0e4

View File

@@ -395,7 +395,7 @@ async def test_climate_state_attribute_trigger_behavior_first(
trigger: str,
states: list[tuple[tuple[str, dict], int]],
) -> None:
"""Test that the climate state trigger fires when any climate state changes to a specific state."""
"""Test that the climate state trigger fires when the first climate state changes to a specific state."""
other_entity_ids = set(target_climates) - {entity_id}
# Set all climates, including the tested climate, to the initial state
@@ -529,7 +529,7 @@ async def test_climate_state_attribute_trigger_behavior_last(
trigger: str,
states: list[tuple[tuple[str, dict], int]],
) -> None:
"""Test that the climate state trigger fires when any climate state changes to a specific state."""
"""Test that the climate state trigger fires when the last climate state changes to a specific state."""
other_entity_ids = set(target_climates) - {entity_id}
# Set all climates, including the tested climate, to the initial state