Finished query of entities for Devices