code: def supported_entity_categories(self, entity_id):
          
          attributes = self.entity_attributes(entity_id)
          return attributes.get(ENTITY_CATEGORY_SUPPORT, [])
docs: Get a list of entity category support for an entity id.
  
          :param entity_id: Entity id
          :return: Entity category support
  
          :type entity_id: string
          :rtype: [string]