From bfdc640e04c1b9c9009351a6ae88e59cca00a62d Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Thu, 29 Feb 2024 16:54:02 +0100 Subject: [PATCH] Remove unused translation key from Ecovacs mower (#111754) * Remove unused translation key * Update snapshots --- homeassistant/components/ecovacs/lawn_mower.py | 4 +--- tests/components/ecovacs/snapshots/test_lawn_mower.ambr | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/homeassistant/components/ecovacs/lawn_mower.py b/homeassistant/components/ecovacs/lawn_mower.py index e33e87bc5fb..d8b42105ae2 100644 --- a/homeassistant/components/ecovacs/lawn_mower.py +++ b/homeassistant/components/ecovacs/lawn_mower.py @@ -62,9 +62,7 @@ class EcovacsMower( | LawnMowerEntityFeature.START_MOWING ) - entity_description = LawnMowerEntityEntityDescription( - key="mower", translation_key="mower", name=None - ) + entity_description = LawnMowerEntityEntityDescription(key="mower", name=None) def __init__(self, device: Device[MowerCapabilities]) -> None: """Initialize the mower.""" diff --git a/tests/components/ecovacs/snapshots/test_lawn_mower.ambr b/tests/components/ecovacs/snapshots/test_lawn_mower.ambr index 9446bb805ac..29c710a5cb7 100644 --- a/tests/components/ecovacs/snapshots/test_lawn_mower.ambr +++ b/tests/components/ecovacs/snapshots/test_lawn_mower.ambr @@ -27,7 +27,7 @@ 'platform': 'ecovacs', 'previous_unique_id': None, 'supported_features': , - 'translation_key': 'mower', + 'translation_key': None, 'unique_id': '8516fbb1-17f1-4194-0000000_mower', 'unit_of_measurement': None, }) @@ -60,7 +60,7 @@ 'platform': 'ecovacs', 'previous_unique_id': None, 'supported_features': , - 'translation_key': 'mower', + 'translation_key': None, 'unique_id': '8516fbb1-17f1-4194-0000000_mower', 'unit_of_measurement': None, })