'Get a list of entity categories for an entity id.
:param entity_id: Entity id
:return: Entity categories
:type entity_id: string
:rtype: [string]'

def entity_categories(self, entity_id):

    attributes = self.entity_attributes(entity_id)
    return attributes.get(ENTITY_CATEGORY, [])
