Insert Revision log message programmatically after form submission
I found the solution. I should have used hook_form_BASE_FORM_ID_alter() instead of hook_form_FORM_ID_alter

Also the call back function should be  home_hub1_my_entity_builder