Is it possible to get entity_id's from a group?

Bottom of the left sidebar of the UI. A template debugger, a list of states, a services/API tool… Take a look at this (specifically, “The dev tools are your friend”)