From 75f923a86e1e3aa6dc6d9c3cfe6a8184de2b7137 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Sat, 9 Sep 2023 01:16:51 +0200 Subject: [PATCH] Use device class translations for Devolo Update entity (#99235) --- homeassistant/components/devolo_home_network/update.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/devolo_home_network/update.py b/homeassistant/components/devolo_home_network/update.py index 21f6edd862c..1c95c4262b2 100644 --- a/homeassistant/components/devolo_home_network/update.py +++ b/homeassistant/components/devolo_home_network/update.py @@ -92,7 +92,6 @@ class DevoloUpdateEntity(DevoloCoordinatorEntity, UpdateEntity): """Initialize entity.""" self.entity_description = description super().__init__(entry, coordinator, device) - self._attr_translation_key = None self._in_progress_old_version: str | None = None @property @@ -124,7 +123,7 @@ class DevoloUpdateEntity(DevoloCoordinatorEntity, UpdateEntity): except DevicePasswordProtected as ex: self.entry.async_start_reauth(self.hass) raise HomeAssistantError( - f"Device {self.entry.title} require re-authenticatication to set or change the password" + f"Device {self.entry.title} require re-authentication to set or change the password" ) from ex except DeviceUnavailable as ex: raise HomeAssistantError(