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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user