1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-20 02:48:57 +00:00

Remove Shelly select name removal (#157070)

Co-authored-by: Shay Levy <levyshay1@gmail.com>
This commit is contained in:
David Rapan
2025-11-23 21:24:55 +01:00
committed by GitHub
parent ddb74c5af4
commit d22867b852

View File

@@ -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."""