From d22867b852ecc337c851e11def47ac1f40f6022e Mon Sep 17 00:00:00 2001 From: David Rapan Date: Sun, 23 Nov 2025 21:24:55 +0100 Subject: [PATCH] Remove Shelly select name removal (#157070) Co-authored-by: Shay Levy --- homeassistant/components/shelly/select.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/homeassistant/components/shelly/select.py b/homeassistant/components/shelly/select.py index c8c76bd0b2f..e6412e96171 100644 --- a/homeassistant/components/shelly/select.py +++ b/homeassistant/components/shelly/select.py @@ -59,9 +59,6 @@ class RpcSelect(ShellyRpcAttributeEntity, SelectEntity): if self.option_map: self._attr_options = list(self.option_map.values()) - if hasattr(self, "_attr_name") and description.role != ROLE_GENERIC: - delattr(self, "_attr_name") - @property def current_option(self) -> str | None: """Return the selected entity option to represent the entity state."""