From 8975c748e1cbc29d54fbce8be4bcd66bdbe6c72d Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 11 May 2024 04:20:33 +0000 Subject: [PATCH] Fix docstrings --- tests/components/teslemetry/test_button.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/components/teslemetry/test_button.py b/tests/components/teslemetry/test_button.py index 4620d6ae5b3eb..23d5ae91ae761 100644 --- a/tests/components/teslemetry/test_button.py +++ b/tests/components/teslemetry/test_button.py @@ -20,7 +20,7 @@ async def test_button( snapshot: SnapshotAssertion, entity_registry: er.EntityRegistry, ) -> None: - """Tests that the climate entity is correct.""" + """Tests that the button entities are correct.""" entry = await setup_platform(hass, [Platform.BUTTON]) assert_entities(hass, entry.entry_id, entity_registry, snapshot, False) @@ -37,7 +37,7 @@ async def test_button( ], ) async def test_press(hass: HomeAssistant, name: str, func: str) -> None: - """Test pressing all the buttons.""" + """Test pressing the API buttons.""" await setup_platform(hass, [Platform.BUTTON]) with patch(