diff --git a/homeassistant/components/select/__init__.py b/homeassistant/components/select/__init__.py index e3c5c9cfe69b82..af390a005a7b09 100644 --- a/homeassistant/components/select/__init__.py +++ b/homeassistant/components/select/__init__.py @@ -102,7 +102,7 @@ async def async_select_option(entity: SelectEntity, service_call: ServiceCall) - """Service call wrapper to set a new value.""" option = service_call.data[ATTR_OPTION] if option not in entity.options: - raise ValueError(f"Option {option} not valid for {entity.name}") + raise ValueError(f"Option {option} not valid for {entity.entity_id}") await entity.async_select_option(option)