Skip to content

Commit d22867b

Browse files
davidrapanthecode
andauthored
Remove Shelly select name removal (home-assistant#157070)
Co-authored-by: Shay Levy <[email protected]>
1 parent ddb74c5 commit d22867b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

homeassistant/components/shelly/select.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ def __init__(
5959
if self.option_map:
6060
self._attr_options = list(self.option_map.values())
6161

62-
if hasattr(self, "_attr_name") and description.role != ROLE_GENERIC:
63-
delattr(self, "_attr_name")
64-
6562
@property
6663
def current_option(self) -> str | None:
6764
"""Return the selected entity option to represent the entity state."""

0 commit comments

Comments
 (0)