def validate_children(config):
 if (CONF_CHILDREN not in config):
  _LOGGER.info('No children under Universal Media Player (%s)', config[CONF_NAME])
  config[CONF_CHILDREN] = []
 elif (not isinstance(config[CONF_CHILDREN], list)):
  _LOGGER.warning('Universal Media Player (%s) children not list in config. They will be ignored.', config[CONF_NAME])
  config[CONF_CHILDREN] = []

def validate_children ( config ) : if ( CONF_CHILDREN not in config ) : _LOGGER . info ( 'No children under Universal Media Player (%s)' , config [ CONF_NAME ] ) config [ CONF_CHILDREN ] = [ ] elif ( not isinstance ( config [ CONF_CHILDREN ] , list ) ) : _LOGGER . warning ( 'Universal Media Player (%s) children not list in config. They will be ignored.' , config [ CONF_NAME ] ) config [ CONF_CHILDREN ] = [ ]
validate children .